r/ProgrammerHumor • • 16d ago

Meme techDebtComingDue

Post image
4.9k Upvotes

61 comments sorted by

View all comments

189

u/Morall_tach 16d ago

"Why would we need four digits to express the date? The first two are always 19 anyway"

68

u/scalyblue 16d ago

Hey it was definitely warranted and innovative, when those choices were being made, saving those two bytes for the year was like the salary of multiple devs. Nobody writing any of that code thought “yeah this shit I’m whipping up is going to still be in use in 30 years”

81

u/SuitableDragonfly 16d ago

1970s: Coded like everything was getting trashed in 5 years, in reality it lasted for decades

2020s: Coded like the code would last for decades, reality is that everything is trashed after five years when the startup loses its funding

21

u/returnFutureVoid 16d ago

Your code lasts five years? I’m lucky if mine last 5 weeks.

11

u/Unusual_Flounder2073 15d ago

We have code at my company that predates the founding by 4 years. It is still responsible for 8 figures of revenue.

1

u/EnvironmentalCap787 11d ago

Interestingly, this is the exact opposite of all other products manufactured on earth.

2

u/SuitableDragonfly 11d ago

But from the perspective of the companies, it's "manufactured to generate revenue once" versus "manufactured to generate revenue continuously" rather than "manufactured to last forever"/"manufactured to be thrown out in five years". It was actually the same with software products. Originally, companies created an app, shipped it and sold it to customers, and then washed their hands of it and moved on to the next project. Nowadays we make subscription-based services and apps that require continual microtransactions and games with innumerable DLCs.

1

u/EnvironmentalCap787 11d ago

Yep, great point!

3

u/asato977424 14d ago

The two-byte saving may have made sense locally; the debt came when the date format became a shared assumption.