5 ms·
Technical debt is similar to real life debt: 1) Pay all your debt now, unless you have a sure way to make money at a higher interest rate CONSIDERING INFLATION
by guylhem 13y ago
Technical debt is similar to real life debt:
1) Pay all your debt now, unless you have a sure way to make money at a higher interest rate CONSIDERING INFLATION (ie if you hold debt at a fixed 2% annual rate and can access 3% guaranteed placement, don't pay your debts if inflation is <1%)
2) Never make any debt ever again UNLESS it is for a productive investment. A productive investment is something that will pay the amount due + interest + leave you something to leave on. Physicial capital (tools) is an investment. Today you must have a really good reason to buy your own server instead of paying-as-you-go for a virtual server. Education may - or may not be, it 's a complex question (credentialing may mean you need paper diplomas more than the actual knowledge)
3) Leave beyond your expenses, save and invest. There're various websites with suggestions on how to do that exactly.
The most important thing is the endgoal : no debt, money in the bank, freedom to work on jobs or projects you value, without the short term constraints of putting food on the table.
When in doubt about making a debt, go see 2) - purchasing property to flip it on the market is taking a risk. If you have followed 3), it's a risk you can take.
Now let's translate that to development debt :
1) you should fix your code now, unless there are more productive uses of your time. Fixing old complex code is like fighting inflation - don't bother. You may win some battle but can't win the war. Fixing new code however is a good idea, while it's still clear in your head.
2) you shouldn't have made a technical debt in the first place, except to ensure a sale or quick money. if you did, you'd rather have a good reason and some profits to show
3) code in a "beginner me could understand that" way. Remember it takes someone twice as intelligent to debug some code, so make life easy for yourself.
The end goal is the same : code that work, with the freedom to repurpose it, without the short term hassle of fighting bugs everyday.
When in doubt about creating technical debt, go see 2) - feature creep to try to secure a sale is taking a risk. If you have followed 3) and your code base is clean enough, it's a risk you can take.
EDIT : Downvotes, really? At -1 now ?? Please tell me how I am not following the guidelines and not contributing to the discussion.
EDIT2: falcolas, sorry, but I see technical debt just like real life debt. It is a powerful and dangerous tool, and if one is looking for solutions on a blog where a guy advise playing around for the fun of it you're not doing to lower your technical debt - you're going deeper into technical debt.
In his own works : "hacking debt" : "Some portion of a career should be devoted to hacking. Not 100%, but not 0% either. Without some time spent exploring and having fun, people become less effective and eventually burn out.".
Huh? "hacking debt" won't resolve the "technical debt" - that's completely unrelated. I just don't and can't agree with his approach of playtime for the sake of it. One should remember the dead simple advice posted above (and heavily downvoted) before trying to do better. Not everyone is a rockstar or a special gem needing daily bouts of playtime to keep inspiration. Most however need to keep a training routine and consider which technical debt is worth taking on, and which is worth leaving aline.
BTW, as I posted 2 weeks ago (https://news.ycombinator.com/item?id=5508906 https://news.ycombinator.com/item?id=5508906) :
"Take a military analogy - if you're not doing something "shippable" (ex: fighting), you are training to maintain or raise your potential for when you will have to get in action - or at least to maintain discipline."
That's not playing for the sake of playing or having fun. That's playing with a goal.
- gte910h 13y ago>Pay all your debt now, unless you have a sure way to make money at a higher interest rate CONSIDERING INFLATION (ie if you hold debt at a fixed 2% annual rate and can access 3% guaranteed placement, don't pay your debts if inflation is <1%) Some people over-emphasize this. Generally speaking, 10k in debt, 10k in the bank, at a non-usurious interest rate is far more stable than 0 in debt and $3.50 in the bank. I'd contend that debts south of 5% fixed interest rate should be HIGHLY considered as "not worth paying down" until your retirement account is fully loaded with enough cash to retire TODAY as this is a very strangely low rate, and one that will be over the life of most loans in that tier, at or less than inflation (looking at historical levels of inflation) You're not going to be able to borrow at 4% when inflation is at 5%, but you sure can keep on to that 4% debt from now for 10 years, and instead bank extra payments or invest them
- felideon 13y ago> Generally speaking, 10k in debt, 10k in the bank, at a non-usurious interest rate is far more stable than 0 in debt and $3.50 in the bank. That's not usually the advice financial counselors give. Dave Ramsey, for instance, would probably say keep $1k in the bank and pay pay off $9k of the debt and [snowball] the remaining payments. Also, assuming you can get a 12% ROI over the years, and accounting for inflation, you'd be left with 12%-5%-4%=3% Is that hypothetical 3% gain worth keeping the debt, which has risks of its own? e.g. you are incapacitated due to an accident, or you incur a huge medical bill that you need to split into payments, but you can't pay much because, oh "i just have this loan at 5% that's not worth paying off.
- bstpierre 13y ago> Is that hypothetical 3% gain worth keeping the debt, which has risks of its own? e.g. you are incapacitated due to an accident, or you incur a huge medical bill that you need to split into payments, but you can't pay much because, oh "i just have this loan at 5% that's not worth paying off. Actually, if something bad happens you've got $10k in the bank. So when you are incapacitated, you've got several months' of living expenses -- or you can pay off the medical bill outright. The common "pay it all off; no debt ever" advice that I've seen given out for free on the internet is geared toward people with tons of debt. This advice is not great for persons with small amounts of debt, good cash flow, and a healthy emergency fund. When you reach this point, you have the option to use debt as a tool, and you have the ability to negotiate with lenders to get better terms. (Implied here is that you can negotiate better terms because you have the ability to simply pay cash and walk away from the debt-negotiation table.)