Rosetta code (I knew how to do that in FORTRAN but...)
By bnitz on Aug 29, 2007
I've lost track of the number of computer languages I've worked in since I first saw a snoopy ASCII printout on a teletype machine. FORTRAN 66 and 77, various flavors of BASIC, 650X, PDP, VAX and Atmel AVR assembly languages, C/C++/Objective C, D, Pascal, Java, Perl. Some things have become easier over the years, others have become more complex and there are always minor annoyances. How do I do X in language Y?
Fortunately Sun rarely falls into the Dilbertesque cliche of letting upper management choose the hottest fad language or framework for a project, hiring whoever can code in that and worrying about design only after the project is finished and support calls start coming in. But occasionally I find a tool that works much better for what I need to do than the tools I already know. And for what I need right now, Python is miles ahead of ksh, bash, awk and even Perl. I find Python both refreshingly modern and reminiscent of the days of clean looking code, when it was important to know what went in Hollerith column 6 and 66. But Python strays from the syntax of C like languages (Java/C/C++/Objective C/.Net/Perl/D) so I occasionally need a cheat sheet. I found that the Rosetta Code page is a reasonably good cheat sheet.