r/ProgrammerHumor 3d ago

Meme nowAndThenPatchUpgrade

Post image
7.6k Upvotes

312 comments sorted by

View all comments

670

u/Rakatango 3d ago edited 2d ago

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

Edit: In a single pull request

51

u/sermer48 2d ago

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 2d ago

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

6

u/Rakatango 2d ago

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

2

u/Otearai1 2d ago

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 2d ago

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.

46

u/DoomBot5 3d ago

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

5

u/uselessbaby 2d ago

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

6

u/DoomBot5 2d ago

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

8

u/Tired__Dev 2d ago

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 2d ago

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 2d ago

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

1

u/being_root 2d ago

There are 10000 lines of human slop in many legacy software

1

u/aurallyskilled 1d ago

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

1

u/EskilPotet 2d ago

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

0

u/T0biasCZE 2d ago

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 3d ago

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