DEV Community

Discussion on: When does understanding other programmers' code become easier?

Collapse
 
craser profile image
Chris Raser • Edited

I'm reminded of Brian Kernighan's note about code cleverness:

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.

I think the same concept applies to reading code. Don't just make it possible to read, make it easy to read. Your colleagues and your future self will thank you.