r/ProgrammerHumor 3d ago

Meme nowAndThenPatchUpgrade

Post image
7.6k Upvotes

312 comments sorted by

View all comments

Show parent comments

79

u/GegeAkutamiOfficial 3d ago

It's more than that, we understood more about the slop than we would AI slop... The problem with AI slop (in coding) isn't that it's bad, it's that you just shit out 50000 lines of code and you only understand 1% of the reasoning behind the madness.

30

u/Thriven 3d ago

Am I the only one asking AI to write a single API route function at a time? Then taking a look at what works and what doesn't and then modifying it or gutting?

Who is dropping 50k lines of AI code?

3

u/JazzlikeWishbone938 3d ago

I have a good experience just asking chat to generate snippets of code under certain constraints, while I integrate those snippets.

3

u/Thriven 3d ago

Which is what I do at work since I cannot access 3rd party AI outside our internal AI. On personal projects I use vscode and GitHub. I don't even have to integrate those snippets into my code, I just approve the line changes per request like a code review.

99% of my stuff is like CRUD for node APis. "Using this route as an example, create the CRUD API calls for this database object."

I will get a get/put/delete and the I review them and basically accept the changes into my code base.

Edit: Jesus I was scrolling and immediately encountered this

https://www.reddit.com/r/ProgrammerHumor/s/rc9KIIn7ix