ideas
ideas copied to clipboard
Ruby-Python-JS comparison site
A site with super-small code snippets meant to illustrate the syntactic and idiomatic differences of these 3 (high-level, dynamic) languages.
The general idea is to let people, particularly beginners, see -- concretely -- how the different languages look.
I did a gist of one example here: https://gist.github.com/daguar/8965561
cc @Mr0grog - for some reason I feel like you'd dig this
Cool. We're you thinking more of “here’s how to do X in each” (e.g. your loop example) or “Here's how Y is the same/different in each (e.g. Divide two ints)?
Focus is on explicating how the languages look and feel through simple comparative examples. Not sure which of your two categories that puts this in, though.
I think that’s more the former. The thing is, for this sort of idea, I never feel like I know what kinds of things make good examples (maybe this is caused by the fact that I tend to use each language for different sorts of projects).
If you’ve got ideas and just need help converting/proofing them in other languages, though, I’m happy to help.