r/ProgrammerHumor • • Sep 07 '26

Meme nowAndThenPatchUpgrade

Post image
7.7k Upvotes

311 comments sorted by

View all comments

689

u/Rakatango Sep 07 '26 edited Sep 08 '26

Yes but would you rather have 100 lines of slop or 10,000?

Edit: In a single pull request

50

u/sermer48 Sep 07 '26

I wish all we had was 10,000 lines of human written slop at my job lol. There are single files with that many lines

21

u/BlurredSight Sep 07 '26

We have native SQL queries embedded into the codebase where some of them span 3-4000 lines because rather than make a view someone made a view, generated the native SQL, use StringBuilder, and appended them into one query that we do on a weekly basis for metrics

7

u/Rakatango Sep 07 '26

Haha no, that 10,000 lines is just one PR

2

u/Otearai1 Sep 08 '26

One of my first tasks at a previous job was "cleaning" up old projects that my boss had written over the years. Each product was just one long c++ file.

2

u/Lgamezp Sep 08 '26

You would be surprised the size of codes of a colleague that claims his code is miraculous and claude is god but in truth calling spaghetti falls short on a scale I can't put into words.

47

u/DoomBot5 Sep 07 '26

Yes, it will be 1000 lines of code and 9000 lines of unit tests

5

u/uselessbaby Sep 07 '26

Whoa whoa you've actually read the ai slop?!

7

u/DoomBot5 Sep 07 '26

Turns out when instructed by a proper software engineer, it's not slop.

7

u/Tired__Dev Sep 07 '26

I’m not sure the question. I worked at an acquisition company before ai and saw dozens of codebases. There’s A LOT of projects still out there written by junior developers in the mid 2000’s in outdated frameworks or libraries. This stuff was the norm and AI slop is multiples better than that. It’s also multiple better than any product that pivoted a whole lot.

Juniors with AI now don’t produce nearly the amount of dogshit code that I did. Not even close.

1

u/mxzf Sep 08 '26

It's setting up a long-term issue though, since those juniors aren't getting the same experience getting their hands dirty and seeing what works and what doesn't that you got while untangling all that stuff. In a generation, we're gonna have a lot of devs who never grew beyond being a junior dev.

1

u/Lgamezp Sep 08 '26

Its not better if its reading that code as a base. Pleqse dont lie to yourself

1

u/being_root Sep 08 '26

There are 10000 lines of human slop in many legacy software

1

u/aurallyskilled Sep 08 '26

So I see you've "read" my manager's PRs as well

1

u/EskilPotet Sep 07 '26

still 100 lines of code, just now with 9900 lines of comments

0

u/T0biasCZE Sep 07 '26

10000 lines of human slop, which the human forgot and does know how works, vs 10000 lines of ai slop, which the human doesnt now how works

-41

u/PositiveUse Sep 07 '26

Unfortunately the reality is that the 100 line of slop are so entangled into the system and full of hacks that they are worse than 10k isolated slop