Thursday, 5 August 2010

Programming Praxis

Nothing helps you better at learning the idioms and libraries of a language than actually programming in it. If you're learning by reading a book (which is how I always learn them), the exercises in it (if any) are either not interesting, too trivial or too large (unless you're reading the excellent Little Schemer, which is basically nothing but exercises). So you need to find some problems to program on your own. In the past, I either had no idea what to try, or was way too ambitious.

But this has changed now that I recently discovered the Programming Praxis website. It contains quite a bit of interesting exercises that always have a reference solution in Scheme. People can also post their own solutions (mostly in functional languages though).
I especially liked the Josephus problem, but I have to admit it took me quite a bit of time to come up with an elegant, working solution, only to learn that I came up with the most inefficient of the three proposed reference solutions :)

But at least now I'll never be short for exercises in the future :)

Technorati Tags:

Posted by cvf at 11:15 PM in Development

« August »
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293031