Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Whitespace in Perl Golf

by ysth (Canon)
on Jan 01, 2007 at 18:05 UTC ( [id://592473]=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: Whitespace in Perl Golf
in thread Perl Golf Ethics

such solutions should be rejected. The rules do not say that trailing whitespace doesn't count.
Nor do they specify how scoring is done, other than by giving you a means to calculate your score. How can a score calculated for you then be rejected as a rule violation?

Update: thospel is correct; I looked for such a rule and somehow managed to miss it. So never mind.

Replies are listed 'Best First'.
Re^3: Whitespace in Perl Golf
by thospel (Hermit) on Jan 01, 2007 at 20:22 UTC
    The text part in rule 6 is supposed to be the definition of the score:

    The score for each hole is the total number of bytes you need (smaller is better). If your program is more than one line, you must count the newlines in between as one byte each. The #! line is not counted. If you use options on the #! line, the options themselves are counted, including the leading whitespace, the - and any trailing whitespace (but not the newline)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://592473]
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.