Hacker News new | past | comments | ask | show | jobs | submit login
Poll: If Yoda was a programmer, what would be his go-to language?
12 points by dpweb on July 5, 2014 | hide | past | favorite | 21 comments
What would Yoda program in?
Lisp
22 points
C
9 points
Assembly
6 points
Bash
1 point
Java
1 point



It would be Forth, as his backward talk sounds pretty much like a RPN version of human language.


Came to say Lisp because of http://xkcd.com/297/ but Forth gets ex-aequo.


Program? Yoda would do whatever he needed to do by flipping bits in real time using the force.


Definitely Assembly.

Luke: There's something not right here... I feel cold. Death.

Yoda: [points to a cave opening beneath a large tree] That place... is strong with the dark side of the Force. A domain of evil it is. In you must go.

Luke: What's in there?

Yoda: Only what you take with you.


You forgot Clojure

Luke - Java ; Qui-Gon Jinn - C++ ; Obi-Wan Kenobi - Perl ; Ki-Adi Mundi - Assembly ; Mace-Windu - C ; Count Duku - D ; Anakin Skywalker - Python ; Aayala Secura - Haskell ; Darth Maul - Ocaml ; Darth Vader - TypeScript ; The Emperor - C# ;

And while we're codifying Star Wars: Imperial Trooper - Microsoft Word Rebel Soldier - MarkDown Han Solo - Counter Strike Leia - Matlab (maybe) Boba/Jango Fett (both of them) - Metasploit Chewbacca - Worms C3P0 - Siri R2D2 - info


If it is C - he would write "if (42 == answer) ... " instead of "if (answer == 42) ..."

http://en.wikipedia.org/wiki/Yoda_conditions


Something about the old MIT AI koans convinces me that yoda would be a lisp hacker; http://en.m.wikipedia.org/wiki/Hacker_koan


The poll left out the obvious choice. Binary.

"Do or do not. There is no try." -Yoda (and presumably no "except" block either").

Edit: reading the comments it appears someone beat me to the try-except joke.


I'd imagine any language which is multi threaded and with plenty of race conditions, because he'd code that perfectly knowing it would work fine.


Definitely Lisp. That's where the force is.


Assembly, for using "raw force" and thinking about the fundamental principles of everything.


Haskell for me I like the most. Hmmmmmm


For(ce)tran


Strong with the Forth Yoda would be. YODA TALK-LIKE IF FORTH USE THEN


Go, because out-of-normal-order the type declarations are.


    do or do not where is no try catch exception


C# obviously... do I win anything?


Why isn't Perl listed?


Brainfuck he would program.


Avoid null behavior, Yoda will.

Java it is.


What? No Object Pascal?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: