Log in

No account? Create an account
Previous Entry Share Next Entry
Code Golf
I recently came across the Code Golf web site. It sets simple programming puzzles, which then have to be completed in as little code as possible. Solutions can be submitted in Perl, PHP, Python or Ruby, and are scored according to their relative size compared with the smallest solution submitted.

I've used it as an opportunity to learn more about programming Ruby. So far I've only attempted the latest puzzle, but there are others that are still open. Its a fantastic exercise in learning more about a programming language, and in thinking hard about how to improve algorithms.