Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Everything has a cost. YAGNI has a cost of rework later if it turns out you do need it after all. Architecting For The Future has extra up-front and maintenance costs, which is wasteful if it turns out the future wasn't as you saw it."

Isn't that why we write good unit tests and refactor? It gives you close to best of both worlds. Writing unit tests is helpful anyways, and gives you peace of mind when you introduce patterns later on when you actually need them.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: