this post was submitted on 17 Apr 2026
614 points (94.6% liked)

Programmer Humor

31019 readers
977 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
[–] MoonRaven@feddit.nl 48 points 2 days ago (8 children)

I've seen the comments AI adds and yeah... No.... It's often pointing out the obvious or even in some cases just misleading.

[–] miridius@lemmy.world 0 points 7 hours ago

Out of the box yes this is true, but:

  1. Custom instructions go a long way
  2. Review the code yourself, tell it what to fix, and it will fix it. For me it often takes like 5 rounds of this before the code is fully polished to the point I'm proud of it. And you know what? It's still MULTIPLE times faster than typing code by hand. And at least for me, the quality is higher, because I have 12 different agents that review the work too and they catch additional issues that even I missed.

If you or others ship shitty code don't blame the LLM, the issue is entirely the engineer using it wrong

[–] architect@thelemmy.club 2 points 1 day ago (1 children)

Yea the comments are awful. More useless than dog shit.

[–] miridius@lemmy.world -1 points 7 hours ago

Skill issue tbh

[–] Enkrod@feddit.org 10 points 1 day ago* (last edited 1 day ago) (1 children)

I told my boss I wouldn't use AI to help write code and sign off on the commits with my name. He told me to use it to write the documentation... it was bad. Essential concepts were not mentioned and obvious shit was explained five times in slightly different phrasing. I am now writing our documentation as an obsidian vault myself again.

I only have it compile a change log from the commit messages of commits and merges on the main and development branch. I know our commits are well written (because I established the standards for them in our repo myself) and that's concrete and rigid enough that it can't fuck it up enough to matter.

But honestly there are build tools that could do that for me, I don't need to buy tokens for that.

[–] pinball_wizard@lemmy.zip 5 points 1 day ago* (last edited 1 day ago)

honestly there are build tools that could do that for me, I don't need to buy tokens for that.

Yes. This is where every "have you tried Agentic AI?" conservation lands, for me.

They tell me I could pay daily, for worse results, to give up the bash script that has worked perfectly for five years. Oh, gee. Tell me more! Haha.

[–] darvit@lemmy.darvit.nl 13 points 2 days ago (1 children)

Sounds like what a lot of beginner programmers do as well.

[–] NotAnonymousAtAll@feddit.org 16 points 2 days ago* (last edited 6 hours ago) (1 children)

Not just beginners unfortunately. One of the things I have to almost always teach to new colleagues, even experienced ones, is to put at least some minimal effort into making the code itself readable instead of relying on comments as crutches. Just basic things like picking proper names for variables and functions.

[–] baines@lemmy.cafe 9 points 1 day ago* (last edited 1 day ago) (1 children)

a = aa + aaa .* a3(A(aa).a2);

[–] Windex007@lemmy.world 14 points 1 day ago (1 children)

//assign a as a function of aa,aaa,A,a3, and a2

Nailed it

[–] Chakravanti@monero.town 1 points 1 day ago

What the fuck are doing here agent? Go tenet those glass towers already.

[–] Jakeroxs@sh.itjust.works 0 points 1 day ago (2 children)

You can add instructions to not comment, you can also have it explain what it does at every step, not everyone just doesn't care about learning. It can be a very effective teaching tool if you use it that way. 🤷

[–] CileTheSane@lemmy.ca 4 points 20 hours ago (1 children)

AI is a terrible way to learn something. It will do something wrong, explain it incorrectly, and you will have no idea.

AI is only useful if you are able to spot and correct the mistakes it makes. Because it will make mistakes.

Very effective teaching tools already exist if you want to learn.

[–] Jakeroxs@sh.itjust.works -1 points 20 hours ago (1 children)

"You'll have no idea" until it doesn't work lmfao

[–] Shanmugha@lemmy.world 3 points 16 hours ago

Someone hasn't done enough debugging in their life. I wish the lesson be as painless as possible

[–] Witchfire@lemmy.world 2 points 20 hours ago (1 children)

When a product is so absolutely terrible that uncommented code is the best it can do...

[–] Jakeroxs@sh.itjust.works 0 points 20 hours ago

Y'all are delusional

[–] Johanno@lemmy.dbzer0.com 3 points 1 day ago

I had to tell the ai to reduce the comments it made. Since it was bunch of not important information.

[–] KindnessIsPunk@lemmy.ca 1 points 2 days ago

Agreed it's why if I'm asking for llm assistance I will generally start with a design for a component and ask it to follow that and comment accordingly usually leads to much better results than blanket asking it to do something for you

[–] Windex007@lemmy.world -2 points 1 day ago (1 children)

So... indistinguishable from the statistical mean of human generated comments.

[–] Earthman_Jim@lemmy.zip 7 points 1 day ago

There is one exceedingly important difference: who gets paid.