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

Been there as well. I call it being clever with your test suites. Figuring out a way to hack your test suites so you can write as little code as you can. Except your test suite ends up unreadable because of all the magic you made for... DRY.


Yup, per Sandi Metz:

https://twitter.com/sandimetz/status/514411916480249856

I've also heard it expressed as "the pain caused by code duplication is nothing compared to the pain caused by wrong abstractions".




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

Search: