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

Trying to retrofit an abstraction to a piece of code is almost always a horrible experience frought with mess and compromise.

Yes, and unless the problem is trivial or your experience in the domain is such that your foresight borders on the clairvoyant, this is guaranteed to happen. No matter how much (or little) design you do up front.

The key is to recognize the right time to stop and refactor, so as to keep the pain that comes with learning the problem space to a minimum.



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

Search: