http://qs1969.pair.com?node_id=456416


in reply to Re^4: On Quality
in thread On Quality

"You Aren't Gonna Need It" doesn't work in isolation. You have to write clean code and refactor it if it gets messy. The code in your example sounds like it was allowed to become a ball of mud.

YAGNI is about leaving out gold-plating and unnecessary features and abstractions, not about writing messy unmaintainable code. Clean code is something you are always going to need.