in reply to Another golf style?


Benchmarking is a good way to understand how Perl works and how to distinguish good code from bad code. However the sole requirement of Perl Golf is to achieve the desired effect in the least number of characters. Efficiency doesn't come into it. If anything that sport would be sprinting.

This is not to say that I wouldn't like to see benchmark comparisons of code, just that it isn't Golf. Call it Perl 100m or something else. :-)

John.
--

Replies are listed 'Best First'.
Re: Re: Another golf style?
by ChemBoy (Priest) on May 18, 2001 at 20:04 UTC

    I like 'Perl 100m dash', but I think it's too specific. Perl Track and Field is too general--maybe Perl Track? Or just Sprints (as has been elsewhere suggested). Judging it might be tough, but whereas some things are faster on some systems than others, a lot of what gets golfed is more system-independent anyway (recursion is slower than iteration no matter where you are).

    I kinda like the idea of a more general Perl Track and Field, actually--what would the Javelin be like?



    If God had meant us to fly, he would *never* have give us the railroads.
        --Michael Flanders