4 ms·
learn tricks, tips, etc on how to write code that is easy to understand and maintain. It is said that we spend 10 times as long reading code as we do writing c
by tmaly 10y ago
learn tricks, tips, etc on how to write code that is easy to understand and maintain.
It is said that we spend 10 times as long reading code as we do writing code. If you can optimize for that, it saves lots of effort over the long term.
- ThrustVectoring 10y agoYup. If I'm working with code I can understand, making changes takes very little time. If I'm working with code I don't understand, I might be able to hack something together that makes things even harder to understand. Probably the best bet is to spend however long it takes to dive into it, and possibly rage-refactor if it's too much to dig into without being the person who wrote it.