5 ms·
Wish there were similar ones for all the other languages - PHP / Python etc. I always thought that most programmers and web developers experienced in one langu
by pitchups 15y ago
Wish there were similar ones for all the other languages - PHP / Python etc. I always thought that most programmers and web developers experienced in one language can quickly pick up the major features of another lanaguage, if there was a quick overview of this sort. Know of any sites that do this? Maybe this is a great opportunity for someone to put together a site like that?
- benologist 15y agoNot just an overview but something where you pick the languages you know and it shows you side by side examples doing the same thing. I know there's a site that does that (can't remember the name) but having it side by side with a great overview like this would be awesome.
- chromatic 15y agoPerhaps you're thinking of PLEAC? http://pleac.sourceforge.net/ http://pleac.sourceforge.net/ Or perhaps Rosetta Code? http://rosettacode.org/wiki/Main_Page http://rosettacode.org/wiki/Main_Page
- benologist 15y agoRosetta Code's the one I was thinking of, but I really dislike their structure - I never want to see how to do something in dozens of languages, almost all of which aren't relevant to me. What I would love to see is: 1) select language you want to learn 2) select languages you already know 3) you get a cheatsheet like the OP that goes through all the basics (and maybe even more detailed), and all the code samples are changeable ala MSDN where you click "C#" or "VB.NET" or whatever to see the code in that language: http://msdn.microsoft.com/en-us/library/system.drawing.bitmap.aspx#Y4876 http://msdn.microsoft.com/en-us/library/system.drawing.bitma...
- pitchups 15y agoPerhaps someone can use Rosetta code as a starting point (their content is GNU licensed) and build a site that does what you are suggesting - where it only shows you the features for the languages you want to learn, based on the ones you know.
- 16s 15y agoOne thing I've always wanted to do is cross reference the data structures/containers for various languages. In Python a dictionary is what Perl calls a hash and what C++ calls a map. Three different names for the same data structure (key value based). I don't think Perl has a set container by default, but they can be added from CPAN, Python does, it's called a set ;) as does c++ where it, too, is called a set. Again, a key value based data structure, but in this case, the key is the value.