3 ms·
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 aggre
by gspencley 5y ago
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:
https://medium.com/@gspencley/what-does-clean-code-mean-anyway-472b559ee620 https://medium.com/@gspencley/what-does-clean-code-mean-anyw...