What's That Programming Language?
71–80 of 107 posts
Re: What's That Programming Language?
#72Please, if you show me a list of things, let me use my arrowkeys. Also, can you finish more gracefully than giving my undefined?
That is annoying. Also irritating is the fact that the quiz seems to stop accepting answers after a couple of questions for me; in both Chrome and Firefox so far. I want so desperately to get a score! Edit: Actually, it just turns out (after reading the source) that in some cases it just won't accept the answer if it's wrong. I did the honourable thing and selected "Forfeit", allowing me to continue :)
Re: What's That Programming Language?
#73Please, if you show me a list of things, let me use my arrowkeys. Also, can you finish more gracefully than giving my undefined?
Also, I opted for Tab completion instead of arrow keys; it's much faster and far less finicky to implement robustly.
Re: What's That Programming Language?
#74Earlier quoted context omitted.
Awesome work, either way! Very impressive collection of language samples. It would make great post to tell us how you put this together, especially where these code samples were from and anything else of interest. Kudos!
How I wish I could say I speak 70+ programming languages, but alas, they're all from Rosetta Code.[1] I would like to show a variety of "tasks", as the site calls them, but scraping seems like it would be a pain, so I went with the most interesting problem with a solid number of samples. As for the architecture, it's pretty much just a Ruby hash from language to code, and then a bit of CoffeeScript to glue everything…
Re: What's That Programming Language?
#75Re: What's That Programming Language?
#76Re: What's That Programming Language?
#77Re: What's That Programming Language?
#78Earlier quoted context omitted.
That is annoying. Also irritating is the fact that the quiz seems to stop accepting answers after a couple of questions for me; in both Chrome and Firefox so far. I want so desperately to get a score! Edit: Actually, it just turns out (after reading the source) that in some cases it just won't accept the answer if it's wrong. I did the honourable thing and selected "Forfeit", allowing me to continue :)
I know auto-accepting only the correct answer is a pretty unorthodox way to do it, but I initially took to making this to familiarize myself with the various syntaxes, and it's the approach I tend to opt for when teaching myself things by rote (notably the Japanese kana and one to ten in all sorts of spoken languages) and it seems to work pretty well. Something about pressing Enter or a "submit" button breaks the neu…
It's a small thing (and I did like it once I realised how it worked) but when doing things in an unusual way a little bit more guidance is required at first.
Enjoyed the quiz!
Re: What's That Programming Language?
#79I have clicked "forfeit" approximately 10 times, and all returned languages were AAABABBBCBCCCCC-esque if you know what I mean?