Live data from Hacker News

What's That Programming Language?

wtpl.heroku.com

31–40 of 107 posts

Re: What's That Programming Language?

#31

I thought this was going to be a tool where you paste in some code and it tells you which programming languages it could be written in. It would be interesting to see how much code you need to be able to accurately identify the language.

I second that. I'd also love to see a tool which would allow you to provide a binary and tell you what built it.

Re: What's That Programming Language?

#34
So I've been doing relatively well, up to 12 and score of 75% - but then I hit TI-BASIC. After I chose it right, the number on the left progressed, but nothing changed in the language itself. After that, kept clicking Forfeit and counter on the left increases (as score naturally goes down), but nothing was displayed where language sample should be. I am on latest Safari on Mac. I CAN HAZ BUG FIXZ, PLZ? But seriously, tons of crazy languages out there - I wonder if it is because we each want to have our own? I know I put together one or two myself, over the years :)

Re: What's That Programming Language?

#35

Ah I hit a bug where the page didnt redraw, I thought they were making a joke saying all languages are the same u__u; Languages never saw before : seed7, whenever. Happy to see my friend COBOL too.

I got it too, the same code for 5 languages I've never heard about, one after another. I felt ignorant, until it told me it's also valid racket :).

    int main(){
       for(int i = 99; i > 0; i--){
          write(i + " bottles of beer on the wall, " + i + " bottles of beer.\n");
          write("Take one down and pass it around, " + (i-1) + " bottles of beer on the wall.\n\n");
        }
        write("No more bottles of beer on the wall, no more bottles of beer.\n");
        write("Go to the store and buy some more, 99 bottles of beer on the wall.\n");
    }

Re: What's That Programming Language?

#38

I feel this could do with an Easy/Medium/Hard option. I've been programming for about 30 years and I can honestly say I've never heard of Falcon or Piet.

I used Falcon for a very short time about a year and a half ago yet I got it wrong...

OT: Falcon is actually a pretty interesting little language.

Re: What's That Programming Language?

#40
post #27

I felt terrible each time I didn't recognise a language I'd used. Makefiles, Delphi and Batch files, to name three.

Heh. I've never used Delphi and I got that one. Thank goodness for learning Pascal in high school, I guess. (And reading somewhere that Delphi is related.) I missed Erlang, even though I have a copy of Programming Erlang somewhere. Guess it didn't take.

I tried guessing Pascal and Modula and a few more for Delphi. I was thinking to myself "what other languages look like Pascal" and in the end gave up. Felt really dumb then when it turned out to be Delphi.

The other one where this happened was F#. I tried OCaml and Snandard ML and was thinking "this HAS to be OCaml..." and again, felt silly for not thinking of F#.

Post reply on HN