Mr. Shawn H. Corey wrote:
On Mon, 2008-10-27 at 17:05 +0000, Brian wrote:
Hello
<snip>
This code is written this way because the coder has been playing too
much Perl Golf ;) The objective of Perl Golf is to write a program to
do a simple task in the least number of characters possible. This, of
course, makes it harder to read.
I must admit here that I am guilty of working this way too, why write 50
lines when 3 will do.
Laughing at myself, because my very first attempt at writing a program
contained dozens of lines and the real programmer at work crossed them
out 1 at a time saying "not needed".
She reduced the calculation section to literally 2 lines of code.
Brian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/