The language nerd in me loves this kind of thing. Rosetta Code is a wiki where you can see algorithms ported to many different languages. What better way to learn a new language and dive deep into it’s idioms than to see a familiar result expressed in its flavor?
Every developer should seek to learn as many languages as time will allow. A programming language’s unique syntax can often lead to fascinating new workflows (witness Ruby’s block syntax and Rspec as the result).
So, when you curl up by the fire this autumn and want to look for some mind stretching activities, pull up Rosetta Code and learn how to implement Bubble Sort in COBOL.
✦ PermalinkMy books...