Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
There's more than one way to do things
 
PerlMonks  

RE:(3) (Perl Golf - some whitespace counts)

by Russ (Deacon)
on Aug 29, 2000 at 23:44 UTC ( [id://30241]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to RE: RE: (Perl_Golf_Section++)
in thread Perl Golf - A proposal for a new section of PerlMonks.org

Ah. You're right. I am, of course, thinking about readability whitespace, not programmatic whitespace...

This does make it much harder to easily quantify a score for a piece of code. I am mainly trying to prevent Perl Golf from simply becoming another Obfuscated area. Since so much "obfuscated" code is simply normal Perl constructs with one-letter variable names and no whitespace, I'd like to see the Perl Golf section emphasize clever, terse, and readable code, since we already have a section devoted to unreadability.

Russ
Brainbench 'Most Valuable Professional' for Perl

  • Comment on RE:(3) (Perl Golf - some whitespace counts)

Replies are listed 'Best First'.
RE: RE:(3) (Perl Golf - some whitespace counts)
by johannz (Hermit) on Aug 30, 2000 at 02:10 UTC

    I would prefer it if we encouraged posters of perl golf entries to explain their code. For example, the snippet I posted took me about 15~20 minutes to figure out all the details. I am trying to convince the gentleman who showed it to me to comment the node he entered to explain how the map and translation operator interact. This way it could be a learning experience in addition to gaining bragging rights :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://30241]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.