Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re (tilly) 1: Tips on Writing a Golf Challenge

by tilly (Archbishop)
on May 23, 2001 at 18:17 UTC ( #82562=note: print w/ replies, xml ) Need Help??


in reply to Tips on Writing a Golf Challenge

All good, but a few more.

Keep it simple. This is golf. There is a fuzzy boundary between golf and a real program. Detailed specs definitely cross that boundary.

Be sure there is a solution. Even if you don't show it, the mere act of writing your own solution will clarify questions and make sure that your problem is doable. There is a fine line between problems with minor tricks and NP-complete brute force searches.

Two solutions are even better. If you can think of at least 2 ways someone might reasonably approach the problem, then the golfing course is likely to be more interesting.

Drop boundary cases if possible Often careful handling of boundary cases takes more work than the main algorithm. The main algorithm is usually the more fun golf challenge.

Wait before posting Too many golf problems dilutes all of them. Wait until nobody else is posting problems, then post yours.


Comment on Re (tilly) 1: Tips on Writing a Golf Challenge

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://82562]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2014-04-16 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (434 votes), past polls