Hacker Newsnew | comments | leaders | jobs | submitlogin
18 points by run4yourlives 159 days ago | link | parent

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.



6 points by DannoHung 158 days ago | link

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.

-----

1 point by run4yourlives 158 days ago | link

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

-----




Lists | RSS | Bookmarklet | Guidelines | FAQ | News News | Feature Requests | Y Combinator | Apply | Library

Analytics by Mixpanel