Hacker News new | ask | show | jobs
Guess programming language by „Hello, world“ snippet (helloworldquiz.com)
30 points by krasnoukhov 4662 days ago
8 comments

Trying to pick between omgrofl and lolcode with one life left can be likened to deciding which color wire to snip.
They look nothing alike, but I saw the LOLs in Omgrofl and instincively hit the LOLcode button before really looking at the code.
BEST :D
This is the wrong kind of Chef: https://github.com/krasnoukhov/langgame/blob/master/models/v...

Which makes me wonder how they scraped their data...

Wrong kind of Chef? What do you mean? Looks like Chef to me..
ah, but that's ruby ;)
Scored 2400, was pretty fun.

A problem is that some of the languages are indistinguishable. I'm pretty sure the example I saw for Logtalk would be perfectly acceptable Prolog.

Nice! Are you sure that this example is acceptable for Prolog? https://github.com/krasnoukhov/langgame/blob/master/models/v...
The awk example is valid Perl.

  $ awk 'BEGIN { print "Hello, world!" }'
  Hello, world!
  $ perl -le 'BEGIN { print "Hello, world!" }' 
  Hello, world!
Also, it's really hard to choose between Delphi and Pascal (no features specific to Object Pascal are used) and between Nemerle and C# (no Nemerle-specific features seem to be used).
5700 :)

The simple absence of (admittedly optional) semicolons in some cases tipped the balance for me. Keyword capitalisation, too.

Still kicking myself over my mistakes, though. :P

Wow, this made me painfully aware of how few languages I know. I hadn't even heard of some of them!
Played a couple of times, hoping to see a snippet in "Holy C" by Terry A. Davis, which unfortunatly didnt happen. Apart from that - nice game!
Feel free to send a patch here! https://github.com/krasnoukhov/langgame
Great game, hadn't heard of some languages! Maybe I will have to read something of them...
Broken on the latest Opera for some reason.
Works fine for me on 12.16. Screenshot?
good job mates
Thanks!