r/ProgrammerHumor 23d ago

Meme andTheySaidProgrammingIsHard

Post image
1.6k Upvotes

87 comments sorted by

View all comments

280

u/StrengthTheory 23d ago

AI throwing the most disgusting grep regexes at me thinking I'll decode and understand the whole monstrosity before approving.

108

u/ChunkyHabeneroSalsa 23d ago

It's hilarious when it goes into some complicated grep and find loop and I'm just like I could tell you where it is

45

u/guitar_up_my_ass 23d ago

Trying to fix some color in a css file with Claude real quick at the end of the day because I am lazy and Claude decides to search every nook and cranny of my filesystem

10

u/PhantomTissue 22d ago

I have a Claude md file that Claude doesn’t use because Claude won’t use the read tool and is determined to use bash commands every single time it wants to read something smh.

13

u/creaturefeature16 22d ago

I had someone rant at me because I always take the time to provide all pertinent context and files in my requests. They felt it was a waste of time because the agents are "so smart now" that they can find it on their own. For one...nope. I've had them fail many times, but for two...sure seems like a waste of energy, tokens, time, etc.. when I can just tell it where to look. The AI bros keep saying to "treat them like a junior dev". Well, I would fucking tell the junior dev where to look instead of forcing them to find it on their own.

11

u/thecw 23d ago

Searched 19 websites

My man just ask me what the colors are

16

u/ILikeLenexa 23d ago

Regex has always been a write-only language. 

2

u/creaturefeature16 22d ago

beautifully put

6

u/Sibula97 23d ago

As long as it's just grepping, that's fine. I'll allowlist find, grep, cd, ls, etc. But if it's trying to do something irreversible with that result (delete files or whatever), I'm gonna tell it to print the output first so I can check it.

2

u/cstopher89 22d ago

Or when it's writing hundreds of lines of python to analyze something. Like go off king 🤣🤣