this post was submitted on 04 Aug 2026
760 points (98.8% liked)

Programmer Humor

32635 readers
2606 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 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] JRaccoon@discuss.tchncs.de 7 points 1 day ago (1 children)

I think it's written that way because the instructions are meant to work on Windows too. But it still doesn't make much sense. I think just saying "Install CMake" and letting the agent figure it out for the current environment would be a much better approach.

Also, I think the model they were using was working with outdated data. Why specifically require Java 21 when Java 25 is the latest LTS? And furthermore, why even link to a specific JDK implementation when it surely works with almost any implementation? Probably just makes the agent install the Temurin implementation even if the system already had a working java.

My point being if the author's idea is to let AI handle the installation to avoid writing environment-specific instructions, it shouldn't then have these hardcoded assumptions about the environment. So yeah, it seems they (and the AI that wrote it) didn't really know what they were doing.

[–] Evotech@lemmy.world 7 points 1 day ago

Ai loves outdated versions. It’s what it’s trained on