Code Golf Challenge : 1,000 Digits Of Pi

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Mon Sep 18 14:53:32 EDT 2006


Paddy:
> Is having good 'code-fu' worthwhile? It may be trivial to score but do
> the results show who iss the better programmer?

With Python you can't win, because Perl and Ruby allow for shorter
programs.
Beside the language, you win if you can invent more tricks, that you
have to avoid in real code, because it must be very readable.
The positive side of this game is that you exercise yourself, so you
get to know the programming language better, and you learn all the
corner cases of your language. Knowing them is useful, to avoid them
when you program for real, to avoid some kind of bugs generated by
corner cases.

Bye,
bearophile




More information about the Python-list mailing list