How about a section where users can go head to head with some simple code. Each user coding their own version of a particular thing. Each time focusing on one issue. Speed, readability, tightness, etc. This would help to demonstrate that there are more than 20 ways to do anything in perl... WrongWay

Replies are listed 'Best First'.
Re: Perl Wars
by azatoth (Curate) on Jun 12, 2001 at 20:08 UTC
Re: Perl Wars
by toma (Vicar) on Jun 15, 2001 at 01:39 UTC
    I like the idea, and we have done this sort of thing at our local Perl Monger's meetings. We didn't use the rules of golf, though, we used the 'Perl Death Match' format.

    A judge presents a programming challenge with a twenty minute time limit. Two teams or two individuals compete. Team coding turns out to be much more fun. The audience is able to see both team's progress; video projectors show each team display.

    We typically compete for coding speed, functionality, and style. Winners are usually easy to recognize.

    A few challenges that I remember were to write programs that:

    • Download historical stock quotes from Yahoo and graph them.
    • Print the first 1000 primes.
    • Tell whether or not a string is a valid ISBN number.
    There are a few strong programmers that often dominate the matches. The surprise is that many programmers with great strength in some areas have glaring weaknesses in others.

    I think it would be good to add another type of contest to the Perl Golf events that happen here.

    It should work perfectly the first time! - toma

Re: Perl Wars
by version2 (Initiate) on Jun 14, 2001 at 08:45 UTC
    I like the idea. It seems (referring to the reply already made) that this is happening in one form or another around the monastery. Although a special section would be nice... I humbly respect the elders decisions. *bows head*