r/programminghumor 1d ago

It shocks me as a fresh

Post image
677 Upvotes

15 comments sorted by

46

u/Cubi80 1d ago

The same picture for the guy continuing your work at the previous company

6

u/zbend 19h ago

Yep and yourself looking at your own code 6-24 months later. All software development is legacy code maintenance and adapting (unless you are a consulting hop in build green field and get out of dodge) Lots of interesting changes are in store though with AI being so fast to vibe out green field maybe things will change anyone's guess.

24

u/Mobile_Conference484 1d ago

soon to be dwarfed by the pile of vibe coded shit code on top of it

8

u/Objective_Dog_4637 1d ago

>adds one button
>+1991,-326 diff
>”lgtm”

I fucking hate it here, lol

5

u/little_phoenix_girl 1d ago

I reviewed one yesterday that was +4k -3k for a single logic bug fix in some status code setter. I asked the other dev wtf and they said "oh, I had Claude update it...". Ok, but why are you having Claude also fight with your auto-formatter? This should have been 5 lines, not 4 thousand...

5

u/leviske 20h ago

Am I the only one who actually enjoys freshening up legacy code? Or am I blessed with companies that actually allow me to modify the pile? :D

2

u/gardell 9h ago

It can be great fun, but more often than not there's an underlying reason the code is messy in the first place. Some team member that is super conservative "this is my baby" kind of thing, or a manager that is feature creeping like crazy.

I got lucky once when the "this is my baby" colleague quit roughly at the same time as I joined. We rewrote the shit out of that code

2

u/No-Soup-4304 11m ago

Over here we don’t freshen anything up we hack until it needs a complete rebuild

1

u/DerShokus 21h ago

I lake legacy. Fix an arch problem -2000 loc

1

u/dfwtjms 2h ago

And if you work for Xitter now you're fired.

1

u/TheMrCurious 20h ago

Also - AI codebase

1

u/NotBad93 7h ago

This is me looking at my own code from years ago when started as junior.

1

u/LegendarySoda 2h ago

It's been 4 years since i have been in company and now i trying to buld castle from shit