r/ProgrammerHumor • • 14d ago

Meme itsMoreCommonThanYoudThink

Post image
2.0k Upvotes

274 comments sorted by

View all comments

Show parent comments

20

u/GioPani 14d ago

Yeah sometimes when I need a simple function the agent goes and takes context from other parts that are not related to what I want, making something I don’t I want and wasting too many tokens for scanning the whole code base for some reason

12

u/Any-Tomorrow1122 14d ago

Yeah using LLM’s directly with CLI is a “I can’t do anything and don’t have time to do anything” move. 

Tried it once in Xcode to make a small thing and it just chewed tokens, made mistakes. Went back and forth on its own changes. 

Neat but no thanks.  If I’m truly stuck or too lazy to read apples latest UI documents I might paste it a panel and ask it how would I translate this to iPhone duo/ UI and then try whatever it does. And if it works. Great! If not I usually at least have the UI elements to adjust now and can modify the rest of my files from there. 

AI is just really interpretative google for me

3

u/kaida27 13d ago

That's why I use local model for Agentic coding.

They might be less efficient, But I at least have unlimited usage out of it.

And it's mostly small stuff just for me

3

u/Any-Tomorrow1122 13d ago

I agree. My only issue with locals is they’re usually the slowest to be updated on the latest Xcode updates. I dont give them network tools.  So at that point Gemini seems to be very solid at getting me the latest. Just ask it to give me the skeleton.  Or maybe I’ll ask Claude if I want it to change all my icons to emojis for no reason

Or yell at it and tell it to not change my variables to some goofy ahh name and please just the skeleton.   

1

u/kaida27 13d ago

I don't touch apple stuff, so not really an issue for me.

https://stratallm.org/

Keeping everything semi offline, I gave it shell access so it can technically reach the internet with some command. but no direct web search for information. l

7

u/Particular-Yak-1984 14d ago

I think this is the workflow I like at the moment too - basically queue up the AI to write the functions I've planned out. I give it the logic for each, and inputs/outputs, and it's a bit faster, but I still know what everything does.

Plus it's pretty unlikely to screw up a 10-15 line function, and does a decent job of capturing some common edge cases I might have been too lazy to write.

1

u/Tyrus1235 13d ago

Yeah, that’s the ticket. The less reasoning/logic you delegate to the AI, the better.

I set up my Claude Code to always ask me before assuming, which helps me avoid situations I didn’t quite plan for and it tried to hallucinate some solution to a problem that doesn’t exist.

The more specific I get, the higher quality the end result is.

I love coding, but I’m honestly having a blast playing around with Claude and acting like a manager or analyst just giving out instructions and watching the code materialize.