Click here to Skip to main content
15,887,683 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: technical debt - is it something observed from another person PinPopular
Daniel Pfeffer11-Oct-22 2:24
professionalDaniel Pfeffer11-Oct-22 2:24 
GeneralRe: technical debt - is it something observed from another person Pin
SeattleC++12-Oct-22 4:57
SeattleC++12-Oct-22 4:57 
GeneralRe: technical debt - is it something observed from another person Pin
Daniel Pfeffer12-Oct-22 6:31
professionalDaniel Pfeffer12-Oct-22 6:31 
GeneralRe: technical debt - is it something observed from another person Pin
SeattleC++12-Oct-22 7:59
SeattleC++12-Oct-22 7:59 
GeneralRe: technical debt - is it something observed from another person Pin
Juan Pablo Reyes Altamirano12-Oct-22 8:51
Juan Pablo Reyes Altamirano12-Oct-22 8:51 
GeneralRe: technical debt - is it something observed from another person Pin
Chris Copeland11-Oct-22 3:22
mveChris Copeland11-Oct-22 3:22 
GeneralRe: technical debt - is it something observed from another person Pin
PIEBALDconsult11-Oct-22 3:56
mvePIEBALDconsult11-Oct-22 3:56 
GeneralRe: technical debt - is it something observed from another person Pin
Sander Rossel11-Oct-22 3:57
professionalSander Rossel11-Oct-22 3:57 
Consider the following scenario: a customer has orders of type A and B and they should be handled (slightly) differently.
You think to yourself, I'm going to apply a strategy pattern with a factory and gracefully handle every edge-case without if-else logic and without the risk of changes to A will affect B and vice versa and where adding C is a breeze and you wouldn't even need to compile or re-deploy the application.

Instead, due to time constraints, you write a simple if-else.
And the code works and nothing changes in the logic for the lifetime of the application and you never see the code again.
Is it technical debt?

Now say you were able to implement your first idea and you're really happy about it, but then they say A has to change, but B too, and we'll add C and D all the way through Z and they change weekly and your code, while it works and follows best practices, becomes unwieldly and impossible for anyone else to understand.
Is it technical debt?

Now let's say you have and if-else branch and C, D all the way through Z are added, but adding another if-branch is easy as pie (though not necessarily best-practice).
Sure, you need to deploy a new version of the software every time, but that's easy as you use best DevOps practices.
Basically, a request for change could be written in a day and most developers would have no trouble adding an if-branch.
Is it technical debt?

I think technical debt is defined by how the code is used, how often it changes (and how easy it is to change), and by the team supporting it.
Sometimes you just know it'll be a problem, sometimes you don't.
Sometimes you'll expect something to be a problem, but it won't (and vice versa).

It's the same as weeds in your garden, it's only weed if you don't want it there (otherwise it's known as a plant, insects love them!).

GeneralRe: technical debt - is it something observed from another person Pin
Marc Clifton11-Oct-22 7:03
mvaMarc Clifton11-Oct-22 7:03 
GeneralRe: technical debt - is it something observed from another person Pin
abmv11-Oct-22 8:51
professionalabmv11-Oct-22 8:51 
GeneralRe: technical debt - is it something observed from another person Pin
Alister Morton12-Oct-22 4:42
Alister Morton12-Oct-22 4:42 
GeneralRe: technical debt - is it something observed from another person Pin
Gerry Schmitz11-Oct-22 17:23
mveGerry Schmitz11-Oct-22 17:23 
GeneralRe: technical debt - is it something observed from another person Pin
Southmountain11-Oct-22 17:46
Southmountain11-Oct-22 17:46 
GeneralRe: technical debt - is it something observed from another person Pin
Nelek11-Oct-22 22:16
protectorNelek11-Oct-22 22:16 
GeneralRe: technical debt - is it something observed from another person Pin
Kirk 1038982112-Oct-22 13:08
Kirk 1038982112-Oct-22 13:08 
GeneralWSO CCC OTD 2022-10-11 Pin
OriginalGriff10-Oct-22 21:28
mveOriginalGriff10-Oct-22 21:28 
GeneralRe: WSO CCC OTD 2022-10-11 Pin
yacCarsten10-Oct-22 23:39
yacCarsten10-Oct-22 23:39 
GeneralRe: WSO CCC OTD 2022-10-11 Pin
pkfox10-Oct-22 23:41
professionalpkfox10-Oct-22 23:41 
GeneralRe: WSO CCC OTD 2022-10-11 - we have a winner! Pin
OriginalGriff10-Oct-22 23:49
mveOriginalGriff10-Oct-22 23:49 
GeneralThe Importance of Robust Testing - iPhone Edition Pin
Jalapeno Bob10-Oct-22 19:11
professionalJalapeno Bob10-Oct-22 19:11 
GeneralRe: The Importance of Robust Testing - iPhone Edition Pin
OriginalGriff10-Oct-22 19:20
mveOriginalGriff10-Oct-22 19:20 
GeneralRe: The Importance of Robust Testing - iPhone Edition Pin
den2k8810-Oct-22 21:28
professionalden2k8810-Oct-22 21:28 
GeneralRe: The Importance of Robust Testing - iPhone Edition Pin
dan!sh 10-Oct-22 21:28
professional dan!sh 10-Oct-22 21:28 
GeneralRe: The Importance of Robust Testing - iPhone Edition Pin
Dan Neely11-Oct-22 4:36
Dan Neely11-Oct-22 4:36 
GeneralRe: The Importance of Robust Testing - iPhone Edition Pin
OriginalGriff11-Oct-22 5:09
mveOriginalGriff11-Oct-22 5:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.