in reply to Re: Re: Re: Beyond Golf - reading between the tokens
in thread Beyond Golf - reading between the tokens
Try playing your modified golf game with a program to produce the 100 bottles of beer song. The winner is obvious, but I maintain is more complex from a maintainance perspective than a far shorter dynamic solution.
All forms of golf raise the question of trying to define what kind of shortness is appropriate. There is no good answer. And the more natural the answer that you try to come up with, the trickier the boundary cases become. There is no good solution.
PS Stupid trick for regular golf. If side-effects are unspecified, then eval is often more shortly written as s//print"Some code here"/e
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: Beyond Golf - reading between the tokens
by theorbtwo (Prior) on Dec 29, 2002 at 06:39 UTC | |
by Aristotle (Chancellor) on Dec 29, 2002 at 17:20 UTC |
In Section
Meditations