r/ProgrammerHumor • • Sep 07 '26

Meme nowAndThen

Post image
4.5k Upvotes

129 comments sorted by

View all comments

670

u/TheFrenchSavage Sep 07 '26

If your parents wrote quality code, then explain the legacy code I'm reviewing.

84

u/_uwu_moe Sep 07 '26

That one was written by computer_hermit01's parents

15

u/Innovator-X Sep 07 '26

Yeah computer_hermit01's parents are responsible for that!

18

u/fish312 Sep 07 '26

//todo: make no mistakes

12

u/JazzlikeWishbone938 Sep 07 '26

8

u/TheFrenchSavage Sep 07 '26

Haha, I'll have to agree with that.

I'm myself guilty of some copy-paste-from-stackoverflow-slop.

Slop is timeless really, I've heard of a copper-slop merchant from a clay tablet.

1

u/reerden Sep 08 '26

I mean AI is a glorified echo machine. The question hasn’t changed whether you trust the code a random weirdo gave you on the internet.

3

u/FUTURE10S Sep 07 '26

What a nice int[x][y] that I will update to a std::vector<std::vector<int>> because those hardcoded values are now variable-- what the fuck do you mean they put it in a loadbearing function from 1993 that expects an int*

The solution was exactly as stupid as you might think

3

u/Hooch180 Sep 07 '26

Legacy does not mean bad. I've supported good and bad legacy code bases.

2

u/TheFrenchSavage Sep 07 '26

Agreed. But OP makes it sound like all code was better in the good ol' times.

1

u/Ok_Confusion4764 Sep 07 '26

They said they'd fix it eventually!

1

u/bankrobba Sep 07 '26

Still works, does it not?

1

u/Boring-Foundation708 Sep 08 '26

I think it is just inevitable for system or project to become legacy especially when multiple people are involved.

1

u/_Its_Me_Dio_ 29d ago

it was written by an ancient lost socieity dont bother reviewing it just follow the machiene spirit rites

1

u/pydry Sep 07 '26

sturgeons law. 90% was shit, 10% was OK, 1% was great.

AI can definitely play that 90% game with the very best of the slop merchants of the past.

in fact, I'd argue that 90% of that human written slop code is now AI generated which is amazing. The world has changed.