ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Ruby-Python-JS comparison site

Open daguar opened this issue 11 years ago • 4 comments

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

daguar avatar Feb 13 '14 00:02 daguar

cc @Mr0grog - for some reason I feel like you'd dig this

daguar avatar Feb 13 '14 00:02 daguar

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)?

Mr0grog avatar Feb 13 '14 07:02 Mr0grog

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.

daguar avatar Feb 24 '14 05:02 daguar

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.

Mr0grog avatar Feb 24 '14 07:02 Mr0grog