Good code is rarely read
alexmolas.com
Good code is rarely read
1–10 of 115 posts
Re: Good code is rarely read
#2Re: Good code is rarely read
#3Code that does what it should is rarely read. Until you need to change it. And it may not be changing due to it being incorrect. If an attendant system gets replaced, you may have to change all the other systems it has touched. Business requirements may have changed. Stakeholders may have changed.
There are plenty of reasons for code to change beyond there being a bug.
Re: Good code is rarely read
#4Re: Good code is rarely read
#5I don't think the author has worked on long-lived projects. Eventually, all code is revisited because there's always shit to get done.
Re: Good code is rarely read
#6I don't think the author has worked on long-lived projects. Eventually, all code is revisited because there's always shit to get done.
The reason why good code is code that is easy to read, is because products evolve, and so does the code.
Suddenly the taxonomy of that enum starts to shift, and the name that was perfect yesterday does not make sense tomorrow.
These changes happen gradually and a basic acceptance of the code base not being on par with the product understanding is necessary in order to have any kind of velocity on not only spend time refactoring.
Re: Good code is rarely read
#7Re: Good code is rarely read
#8Re: Good code is rarely read
#9Re: Good code is rarely read
#10Good code in my systems are ones that don't need to be touched or read very often, and the fluid/unknowns parts are decoupled elsewhere. Sometimes business requirements issue, Sometimes difficult technical problem.