Click here to Skip to main content
15,892,746 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 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 
GeneralRe: technical debt - is it something observed from another person Pin
Marc Clifton11-Oct-22 7:03
mvaMarc Clifton11-Oct-22 7:03 
maze3 wrote:
But can technical debt be observed before hand?
Yes. Not to be flippant, but it's like how a car you are buying drops in value the minute you drive it off the dealer's lot. In my opinion, technical debt starts the minute the first line of code is written. It is immediately obsolete because the future will bring a new way of doing things. An example is how Microsoft removed the need to wrap Main in a namespace.

I suppose that's not a good example because the definition, from wikipedia:
Quote:
In software development, technical debt (also known as design debt or code debt) is the implied cost of additional rework caused by choosing an easy (limited) solution now instead of using a better approach that would take longer.
is more about your code than the changes in tooling/frameworks. I think the question is, is the quick fix a "simple" change because of a requirements change, or does the the quick fix inform you of a larger structural problem in the code base? Somewhere there's a balance. A one-off fix can later be refactored into a structural change if there is more evidence that a structural change is needed. That my 2c and how I've approached code changes in the past.

[longish story]
As a concrete example, a lot of what I do is write "parcel updaters." This involves taking data in other DB's or CSV files, correlating a record there to the appropriate parcel, and updating the parcel information. Originally, this work was done by others as SQL statements with no logging of errors, like "parcel not found" or of the changes being made. Lots of bugs, no way to figure out what the issue was. I started implementing new parcel updaters in C# with a lot of pre-checks to verify data integrity. It was all C#, and often slow because everything was loaded into memory. At some point, we started dealing with really huge and complicated datasets and I ended up writing SQL queries for things like "missing parcels" and many more complicated queries for parcel contacts, etc. This was really fast, and the insert/updates were still done in C#, but the C# code is now informed by SQL queries that anyone can run to see what parcel updater thinks it should be doing.

Now, am I going to go back and rewrite the existing C# parcel updaters to use this clearly improved process of dumping the CSV or other source into a DB table and writing the queries? No, but it is an example of how, after many use cases where these parcel updaters needed to be written, I've improved the process over the last two years, and frankly, yes, wish I had figured out then what I know now.
[end longish story]

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 
GeneralRe: The Importance of Robust Testing - iPhone Edition Pin
Dan Neely11-Oct-22 5:30
Dan Neely11-Oct-22 5:30 

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.