this post was submitted on 27 May 2025
2105 points (99.5% liked)

Programmer Humor

27542 readers
479 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pennomi@lemmy.world 71 points 6 months ago (38 children)

To be fair, if I wrote 3000 new lines of code in one shot, it probably wouldn’t run either.

LLMs are good for simple bits of logic under around 200 lines of code, or things that are strictly boilerplate. People who are trying to force it to do things beyond that are just being silly.

[–] Boomkop3@reddthat.com 41 points 6 months ago (18 children)

You managed to get an ai to do 200 lines of code and it actually compiled?

[–] pennomi@lemmy.world 28 points 6 months ago* (last edited 6 months ago) (10 children)

Uh yeah, like all the time. Anyone who says otherwise really hasn’t tried recently. I know it’s a meme that AI can’t code (and still in many cases that’s true, eg. I don’t have the AI do anything with OpenCV or complex math) but it’s very routine these days for common use cases like web development.

[–] Boomkop3@reddthat.com 9 points 6 months ago (1 children)

You must be a big fan of boilerplate

[–] pennomi@lemmy.world 5 points 6 months ago

Not sure what you mean, boilerplate code is one of the things AI is good at.

Take a straightforward Django project for example. Given a models.py file, AI can easily write the corresponding admin file, or a RESTful API file. That’s generally just tedious boilerplate work that requires no decision making - perfect for an AI.

More than that and you are probably babysitting the AI so hard that it is faster to just write it yourself.

load more comments (8 replies)
load more comments (15 replies)
load more comments (34 replies)