![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re^2: "Cleverness" from HOPby chromatic (Archbishop) |
on Jun 12, 2009 at 08:15 UTC ( [id://770858]=note: print w/replies, xml ) | Need Help?? |
Am I naive in thinking you can write clever code so long as your commenting for it increases exponentially with respect to "unit" increases in cleverness? Yes; comments are far too often a maintenance burden. I want the intent of my code to be clear on reading the code itself. Where it's not, I try to rephrase the code for clarity. Where that's not possible, I use a comment to explain the motivation.
In Section
Meditations
|
|