Think about Loose Coupling | |
PerlMonks |
Re: What is code readability?by adrianh (Chancellor) |
on Jan 03, 2007 at 11:23 UTC ( [id://592739]=note: print w/replies, xml ) | Need Help?? |
Not so much a comment on what is readable code (I cuddle my elses - so what do I know :-) but a tip on figuring out when it isn't that I've found very useful over the last few years. Treat comments as a red flag. This doesn't mean "don't comment". However every time you want to write a comment think "Is this a sign that the code is unclear? Can I make it more intention revealing without a comment?"
In Section
Meditations
|
|