in reply to Re: The Lighter Side of Perl Culture (Part III)
in thread The Lighter Side of Perl Culture (Part III): Obfu

eyepopslikeamosquito faints. Nice work and sorry about the crack about Python's indentation rules. ;-)

Silly me, never thought to google for "Obfuscated Python". Won't make that mistake again. Researching the next installment, googling for "Perl Golf" gives me SourceForge Perl Golf as expected, while googling for "Python Golf" gives me ... a nice pair of ladies golf shoes. Don't tell me Pythoneers play golf too? Update: they do now apparently (see also PyContest).

Update (2011): Surprisingly, Python has now become, by far, the most popular language in which to play competitive code golf, as described in The golf course looks great, my swing feels good, I like my chances (Part IV) (in the "Which is the Most Popular Golfing Language?" section).

  • Comment on Re^2: The Lighter Side of Perl Culture (Part III)

Replies are listed 'Best First'.
Re^3: The Lighter Side of Perl Culture (Part III)
by Anonymous Monk on Jan 28, 2005 at 03:38 UTC
    Golfing in Python is rare because good python code tends to be not very much longer than the shortest possible version. There's also less in the core than Perl and far fewer side effects/context-dependencies.

    That said, you occasionally see golfing - for example Wypy was golfed down from about 21 lines - and Java converts posting Java-ish Python to comp.lang.python tend to receive suggestions for how to reduce their code by about 70%... ;-)

    yrs Disciple-of-another-Faith-ly, -T.