[PyAR2] Programming Challenge II - One is the Magic Number

Greg Lindstrom gslindstrom at gmail.com
Tue Oct 28 15:46:54 CET 2008


On Tue, Oct 28, 2008 at 9:42 AM, Jesse Jaggars <jhjaggars at gmail.com> wrote:

> > generator which creates the values as they are used. Your program is
> almost
> > identical to mine, though I like Jesse's program in a Perlish sort of way
> > (hey, Jesse...no offense intended!!).
>
> None taken; It's a fair assessment. Problems of this nature lend
> themselves well to code that probably shouldn't see the light of day.
> :)


One thing the Perl community does that I really enjoy is they "play golf";
that is, they try to solve a programming challenge in the fewest characters
possible.  It leads to some really bazaar code but is a great way to learn
the intricacies of the language.  Python does not lend itself to "golf" as
well as Perl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/mailman/private/pyar2/attachments/20081028/a6dbf540/attachment.htm>


More information about the PyAR2 mailing list