chromatic has asked for the wisdom of the Perl Monks concerning the following question:
My take is that it depends. For quick, one-off scripts where I'm the only one ever to read the code, the quicker and shorter I can do something, the better.
For stuff that I'm making public, or that I'll pass off on someone else, I'll sacrifice a few shortcuts for readability, or, at least, write a couple of lines of comments to explain my hackery.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Terse or Self-Documenting Code
by stephen (Priest) on Jan 22, 2000 at 15:06 UTC | |
|
Re: Terse or Self-Documenting Code
by jdube (Initiate) on Dec 30, 1999 at 09:22 UTC |