Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Terse or Self-Documenting Codeby jdube (Initiate) |
on Dec 30, 1999 at 09:22 UTC ( [id://1564]=note: print w/replies, xml ) | Need Help?? |
Terse but well documented, if you do it right. Don't cut code size for speed, especially if it breaks readability, but if it is faster than the alternative (speedwise, not coding wise) I'd say go short. Don't ever expect ANYthing to be self documenting, you'd be surprised at the people out there (my C++ teacher has to ask me what an int called "counter" does when I don't document it.... UGH)
In Section
Seekers of Perl Wisdom
|
|