News for hackers. Stuff that matters.
Re:All code is technical debt by avereveard on Wednesday December 20, 2023 @06:18PM (#38714941)
No sorry that is just bad encapsulation and goes under poor programming.Technical debt occurs when you write a good program to your current understanding of the solution knowing that the full understanding of the solution will come later, and that you need to do something now to get to that learning point later, and so you have to repay your partial understanding at the beginning with refactoring later.

Here, heed Ward words directly, poor programming is not debt, and debt doesn't cover "whatever reason programmer may have" but has a specific well defined scope: https://m.youtube.com/watch?v=pqeJFYwnkjE&t=198

Re:All code is technical debt by jimmaswell on Wednesday December 20, 2023 @07:49PM (#38715759)
That's certainly not how most people understand the term.
Re:All code is technical debt by avereveard on Thursday December 21, 2023 @12:54AM (#38717418)
I mean that is the guy who invented it should we just go "ah well the uneducated masses really wish for a term that excuses bad programming so let's twist this nice metaphor into something we can sell to management to that effect", or instead just get the quote and correct people whenever we can until there's no more shadow under which to hide bad code.
Re:All code is technical debt by matheusmoreira on Wednesday December 20, 2023 @08:38PM (#38716079)
I definitely agree with him about code reflecting one's understanding of the problem and its solution. I don't agree with the poor programming thing though. No one writes bad code on purpose. Sometimes things like that just slip through while I'm focusing on other issues. I do make an effort to polish things up before committing but at some point I have to decide that the code is good enough to push otherwise I'll succumb to perfectionist tendencies. I'm also a solo developer so I don't have anyone to review my code either.