Live data from Hacker News

Guess programming language by „Hello, world“ snippet

helloworldquiz.com

11–20 of 21 posts

Re: Guess programming language by „Hello, world“ snippet

#14
post #2

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.

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

Re: Guess programming language by „Hello, world“ snippet

#18
post #13
post #6

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..

I was expecting something more like this: https://github.com/opscode-cookbooks/apache2/blob/master/rec...

http://en.wikipedia.org/wiki/Chef_%28software%29

Re: Guess programming language by „Hello, world“ snippet

#19
post #13

Earlier quoted context omitted.

Wrong kind of Chef? What do you mean? Looks like Chef to me..

I was expecting something more like this: https://github.com/opscode-cookbooks/apache2/blob/master/rec... http://en.wikipedia.org/wiki/Chef_%28software%29

ah, but that's ruby ;)

Re: Guess programming language by „Hello, world“ snippet

#20
post #2

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.

The awk example is valid Perl.

  $ awk 'BEGIN { print "Hello, world!" }'
  Hello, world!
  $ perl -le 'BEGIN { print "Hello, world!" }' 
  Hello, world!
Post reply on HN