Live data from Hacker News

What's That Programming Language?

wtpl.heroku.com

71–76 of 76 posts

Re: What's That Programming Language?

#72
post #55
post #42

This is neat but I wish the score was accurate. Currently if I click forfeit it will show me the correct answer but not do anything. I can then write in the answer and then it will increment the x/y score. However, it doesn't take into account forfeits so I always get a perfect score.

Hit escape to advance. It's a weird UI.

Ya, I figured it out after I posted that. However, I shouldn't be able to "game the system" the way that I did.

Re: What's That Programming Language?

#74
post #13

Half of them look like C with one additional keyword!

Those are the ones that took me the longest. There are so many minor variations of C/Java/Javascript/Lisp that it takes a while to figure out which one you are looking at.

It's the languages with very distinctive features that can be guessed quickly (assuming you have seen them before) e.g. cobol, erlang & also joke languages like intercal, brainfuck, chef etc.

Re: What's That Programming Language?

#76

wow... this was actually harder then the language game I saw earlier. I don't think I've even seen 90% of these. And most of them look so similar it's hard to pick them apart with such a small snippet. D for example... how are you suppose to get that one right?

well, at least for D: at the top there is 'import std.stdio;', which signifies importing one of the main modules in the language. Along with the C like syntax and writeln function, I was able to get it pretty quick. But, I've been doing all my personal projects in D for the past few weeks, so there's no surprise I got it.

I guess I don't do enough stuff in D. But really shouldn't the snippets have more variation then 'import std.stdio;'?
Post reply on HN