Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: What is code readability?

by adrianh (Chancellor)
on Jan 03, 2007 at 11:23 UTC ( #592739=note: print w/replies, xml ) Need Help??


in reply to What is code readability?

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?"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://592739]
help
Chatterbox?
Discipulus definitevely shutted down a 12yo server

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-07-25 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (370 votes). Check out past polls.