Hacker News new | past | comments | ask | show | jobs | submit login

The thing is that just because it's spaghetti code doesn't mean it's not successful and thus it can be fixed.

Premature optimization is the developers version of pixel perfection. They are both the enemy of getting anything done.




Spaghetti code is so frustrating to refactor, that you sometimes may as well rewrite to maintain your sanity.


Sure but then you do that. Its better than having spent an insane smount of time on something no one ends using.


Write a serious test suite before doing so. Otherwise you will miss a bug 31337 fixed in 19xx and will be sad later.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: