Re:Goodbye, Clean Code (2020)
by gspencley on Tuesday November 16, 2021 @02:21PM
(#29245201)
Don't confuse Robert Martin's book "Clean Code" with the broader concept of clean code.
"A codebase where everything is easy to change becomes complex in aggregate"
What you're describing there is a code smell that is commonly referred to as "Speculative generality" and was written about in a book by Martin Fowler called "Refactoring, improving the design of existing code." Which, incidentally is a great companion book to Robert Martin's Clean Code.
Speaking of trendy medium articles, here is one that I wrote on the concept of clean code that might help better understand what I mean when I use the term:
"A codebase where everything is easy to change becomes complex in aggregate"
What you're describing there is a code smell that is commonly referred to as "Speculative generality" and was written about in a book by Martin Fowler called "Refactoring, improving the design of existing code." Which, incidentally is a great companion book to Robert Martin's Clean Code.
Speaking of trendy medium articles, here is one that I wrote on the concept of clean code that might help better understand what I mean when I use the term:
https://medium.com/@gspencley/what-does-clean-code-mean-anyw...