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

Do you know what kills more than speed? Code that isn't "done". Code that isn't done doesn't ship, not shipping means no money, which means no food, which means death.

In the end, bad code is simply trading your time three weeks, months, or years from now for time right now. It's exactly the same as taking out a loan. Sure, it's cheaper to save and not pay the interest on the loan, but unless you have the luxury of time (You hardly ever do) the loan makes better sense both in the long and short term.

Every time you rewrite code, just think of paying interest. It's a lot easier to deal with if you see it as trade of for the nice warm house you're living in or laptop you're coding on.



Rewriting code is paying principal. Dealing with the shit caused by bad code is the interest.

The longer you go without paying the principal, the more interest you're paying.


I think you just paid some principal on my comment; nice extension/extrapolation.




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

Search: