Guess programming language by „Hello, world“ snippet
helloworldquiz.com
helloworldquiz.com
Which makes me wonder how they scraped their data...
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.
$ awk 'BEGIN { print "Hello, world!" }'
Hello, world!
$ perl -le 'BEGIN { print "Hello, world!" }'
Hello, world!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