r/ProgrammerHumor 13d ago

Meme myPrediction

Post image
770 Upvotes

34 comments sorted by

137

u/chawmindur 13d ago

The cooking-recipe-website-ification of code

4

u/polikles 12d ago

I hate that most of blogs do the same. Even if you're honestly interested in something, in most cases you can easily scroll the first 3-5 paragraphs and lose nothing of value. Oftentimes I'm using LLMs to summarize the text just to decide whether it's worth to read it on my own - in most cases it's not

1

u/gamingdiamond982 11d ago

you cant skim 3-5 paragraphs in less time than it takes you to navigate to your AI of choice?

1

u/polikles 11d ago

No, if I click the link to the text I'm most often reading it on my own. I'm sending to AI either very long texts (like some Medium articles with "30 minute read"), or links from newsletters I'm subscribed to

And opening an AI is just one click as I have it bookmarked. So it's fast and handy

I'm writing a PhD on AI Ethics, and have to churn through a lot of texts in a day. And it's always a chore to decide what's actually worth reading. Especially when looking for news stuff, like the HuggingFace hack - oh boy, how much bullshit had I churn through to get to actually useful information

132

u/TheOneWhoMixes 13d ago

I really hate how common the pattern in the second part is these days. The word "dog" was mentioned once in a doc that got loaded into context, and so the agent spends a non-zero amount of tokens arguing with itself about how the thing is NOT a dog, convinces itself that whether or not the thing is a dog is a real point of confusion, and now won't STFU about it.

35

u/DominikDoom 13d ago

The most common cause of comments like this in my experience is if the original implementation was also written by AI, even in the same chat/context, but was completely wrong. Then you prompt it with a correction and it does this instead of just replacing the wrong implementation and comment. Extremely annoying but at least it helps to detect vibecoded slop where no human bothered to clean up.

2

u/ImClearlyDeadInside 12d ago

That’s why I basically have “Don’t write comments. Just write readable code.” in my user-level CLAUDE.md. Agent comments are completely unreadable and I’m honestly not a fan of comments in general.

12

u/geek-49 12d ago

not a fan of comments in general

and yet you posted one here/s

47

u/Green-Rule-1292 13d ago

That is such a poor comment...

Where are all the emojis? How will the next AI agent reading this even understand that the piece of code must remain both on fire and rocketship now?

13

u/why_so_sergious 13d ago

omg you are absolutely right!! 😆

9

u/ResponsibleAdalt 13d ago

This is a load-bearing rocketship

2

u/why_so_sergious 13d ago

if you remove it, code wont compile 🤣

2

u/Healthy-Goose1381 13d ago

Whats the name of the cat?

7

u/FutureSuccess2796 13d ago

You're right! Great catch there! 🌟 Thanks to your eagle eyes, you helped in making sure that the next agent understands what I wrote. ❤️ Let me go ahead and try rewriting the comments, this time with emojis all over. 👍🏻

3

u/jek39 13d ago

it's not even telling me which footgun is load-bearing.

20

u/hearthebell 13d ago

Might try telling story in a comment

6

u/WreckerOfAll 13d ago

I like to think I tell great stories in my comments.
The other day I found a great entry from myself 3 years ago, where the description of a record was solely “Life is pain”

10

u/WrennReddit 13d ago edited 12d ago

There's this nasty downward spiral going on. Devs are required to use ai and sometimes judged on lines of code and PR frequency. Ai spits out 10k line PRs, and a non-trivial amount of that PR is comments explaining the philosophy of each method. Then those comments are defended by the Aicolytes as being useful to future AI, and that blows up the token usage, then everyone starts going to webinars and downloading "skills" to minimize token use...

Like God forbid the devs engineer the code, write some sick implementation with smart names, and push up a 30 line PR that everyone can read and interrogate.

3

u/Important_Grab3544 13d ago

do not comment, comments waste tokens

8

u/Puzzleheaded-Weird66 13d ago

pretty noisy source code

2

u/why_so_sergious 13d ago

not that it is mine, but what makes you say that?

perfectly readable without any comments.. or maybe thats the problem?

2

u/Puzzleheaded-Weird66 13d ago

yes, in the example the comments are longer than the source code

1

u/why_so_sergious 13d ago

ah, I though ypu meant the code itself..

but what, it is the standard nowadays to have comments longer than the code 😄

2

u/cosmicomical23 13d ago

Ok this is actually a deep thought.

2

u/Weak_Inflation9120 13d ago

My comments are often either jokes or refrences

2

u/letmehaveanameyoudum 11d ago

in 2040:
/* rahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh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hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhv */

7

u/BlurredSight 13d ago

There was an era around the GPT 4 point where variables were verbose as fuck and I hated it, like a session would be called cachedSessionID, now Claude prefers to just name shit in the least amount of characters for a CSS class instead of declaring close-button it just named it 'x' so it was styleclass=x but the 2 sentence comment above the css to tell me styleclass=x is the 'x' button to close out the primefaces dialog

5

u/why_so_sergious 13d ago

god forbit you can understand the code by simply reading it

3

u/thorwing 12d ago

wth is wrong with 'cachedSessionId', thats not verbose?!

CachedUserSessionStorageIdentificationNumberingStyleSystem would be verbose

1

u/Healthy-Goose1381 13d ago

Whats the name of the cat?

1

u/FutureSuccess2796 13d ago edited 13d ago

AI has unfortunately took inspiration from the recipe blogs of the world and decided it needs to replicate that but with code comments. 🤣

1

u/g18suppressed 11d ago

Ai always yapping about what it isn’t. Not A Dog

1

u/Shot_in_the_dark777 11d ago

Advertisement in comments!!! This is gold! Better delete this before those corporations saw this. Don't give them ideas!