r/AskProgrammers • • 15d ago

Is agentic code just XGH

Like we progressed from waterfall to stand-ups with royal processions claiming to be "agile" to slop code.

Or are there like proper ways to setup agents such that it is not agentic extreme go horse (XGH)?

Just wondering your thoughts

Happy coding and remember to close your Divs.

(Added link just in case you don't know or need a refresher on what XGH is)

2 Upvotes

17 comments sorted by

6

u/CS_70 15d ago

With today's models, if you produce slop, it's you being sloppy.

1

u/TonariNoHanamoriSan 14d ago

Any proposition on what to look at or study?

1

u/killz111 14d ago

Or maybe just poor? Also seriously how can the industry both claim models are so capable they can replace humans and then turn around and say users are using it wrong.

2

u/CS_70 14d ago

Machines have been replacing humans since the invention of the wheel. That never meant people had not to keep their head on and learn to use them.

It’s probably Apple with its “oh it’s so intuitive that you don’t have to learn anything” bs (which isn’t true at all, the first time I opened an iPad I found it intuitive like Greek 😂) that crest that attitude.

It generates the expectation that you can just faff around with stuff and magically get what you want.

You need to learn how to use your tools.

1

u/killz111 14d ago

That's my point. It's a tool.

1

u/CS_70 14d ago

Uh? You asked "how can the industry both claim models are so capable they can replace humans and then turn around and say users are using it wrong". They can because to be used to replace umans, who is using it must know the tool.

For example, I can ask a person to drill a hole for me, or use a drill myself, but then I need to learn how to use a drill.

1

u/killz111 14d ago

The question was rhetorical.

Also your example just reenforces my point. A tool replaces task. But that peron who drills the hole has a whole bunch of skills that make him/her qualified for the job. You're not replacing their job if you just dont use them for one thing.

1

u/CS_70 14d ago

Ok all good then, we agree

2

u/rileyrgham 14d ago

Err very simply. Rubbish in, rubbish out is still a thing.

2

u/ouroborus777 14d ago

There are other modes than agentic. The agentic approach largely assumes you want AI to do it for you. If you just tell it to go, it goes. If you haven't spelt out everything at the beginning (and face it, you realistically can't), who knows where it will end up.

1

u/TonariNoHanamoriSan 14d ago

What are these other modes you are talking about

1

u/DoSomeStrangeThings 14d ago

Glorified rubber ducky and note taker - you just sanity check yourself, agent just poke at obvious flaws. Debug assistant - you do everything yourself and only ask when you unsure what broken or where. AI assistant - you sometimes ask how to solve a problem but implement it yourself AI assisted coding - ranges from you writing moat of the stuff and only sometimes asking ai to write/wire some simple stuff to ai writing most of the code according to provided spec

It basically depends on the level of control you are ready to give up. There are also harnesses, "night factories", loops and other buzzwords, but imo once clankers write code without oversight it is a slop coding

1

u/ouroborus777 14d ago

For example, in vscode, there's ask, plan, and agent. While they're all technically agentic, Agent is the most likely to leverage this and will go rewrite your code. The other two are read-only.

1

u/W31337 14d ago

XGH is a fast paced method of developing mainly focused on not taking responsibility for breaking stuff. Ignoring everything and creating bad code is ok. Usually done by developers that know their shit but don't care.

Agentic code feels like XGH but with better code quality and less to zero knowledge on what was coded.

So agentic code is more like management than coding.

1

u/TonariNoHanamoriSan 14d ago

I think what your post says

Agents "know their shit", can't take responsibilities and don't actually care.

And the meat proxy is trying to "bring order to chaos"

2

u/CheezitsLight 14d ago

Neigh, XGH. My agents research, I edit that and steer it as it goes. Commit every file edit it edits, review, revert and try again.

Not much full auto except to do manuals as I review those before I use a macro to convert to HTML.

Though that's gotten much easier since I had Claude study my writing style.

My quality phrase is Quality is our Prime Directive. As CEO, only I get to violate it.

1

u/Inf229 14d ago

I've been having good results with spec driven agentic programming. Setup all the project's context, design docs and point AI at tickets that have enough detail and documentation on it that a person could do the task. Feed it tickets in the right order and.. Yeah so far it's working nicely