News for hackers. Stuff that matters.
Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @12:56PM (#47479514)
> try it, you might actually be amazed.

I keep being told this and the tools keep falling at the first hurdle. This morning I asked Claude to use a library to load a toml file in .net and print a value. It immediately explained how it was an easy file format to parse and didn’t need a library. I undid, went back to plan mode and it picked a library, added it and claimed it was done. Except the code didn’t compile.

Three iterations later of trying to get Claude to make it compile (it changed random lines around the clear problematic line) I fixed it by following the example in the readme, and told Claude.

I then asked Claude to parse the rest of the toml file, whereby it blew away the compile fix I had made..

This isn’t an isolated experience - I hit these fundamental blocking issues with pretty much every attempt to use these tools that isn’t “implement a web page”, and even when it does that it’s not long before it gets tangled up in something or other…

Re:If AI brings 90% productivity gains, do you fire devs or ... by krastanov on Sunday March 22, 2026 @01:04PM (#47479607)
This is fascinating to me. I completely believe you and I will not bother you with all the common "but did you try to tell it this or that" responses, but this is such a different experience from mine. I did the exact same task with claude in the Julia language last week, and everything worked perfectly. I am now in the habit of adding "keep it simple, use only public interfaces, do not use internals, be elegant and extremely minimal in your changes" to all my requests or SKILL.md or AGENTS.md files (because of the occasional failure like the one you described). But generally speaking, such complete failures have been so very rare for me, that it is amazing to see that others have had such a completely different experience.
Re:If AI brings 90% productivity gains, do you fire devs or ... by aqua_coder on Sunday March 22, 2026 @02:07PM (#47480324)
My experience with working with AI agents is that they can be verbose and do things that are too over complicated by default. Unless directed explicitly. Which may be the reason for this discrepancy.
Re:If AI brings 90% productivity gains, do you fire devs or ... by jayd16 on Sunday March 22, 2026 @01:45PM (#47480073)
You say it doesn't fail but you also mention all these work around you know and try...sounds like it fails a lot but your tolerance is different.
Re:If AI brings 90% productivity gains, do you fire devs or ... by jmalicki on Sunday March 22, 2026 @02:34PM (#47480608)
Most people I've seen complain say things like "I asked it for code and it didn't compile."

The real magic of LLMs comes when they iterate until completion until the code compiles and the test passes, and you don't even bother looking at it until then.

Each step is pretty stupid, but the ability to very quickly doggedly keep at it until success quite often produces great work.

If you don't have linters that are checking for valid syntax and approved coding style, if you don't have tests to ensure the LLM doesn't screw up the code, you don't have good CI, you're going to have a bad time.

LLMs are just like extremely bright but sloppy junior devs - if you think about putting the same guardrails in place for your project you would for that case, things tend to work very well - you're giving the LLM a chance to check its work and self correct.

It's the agentic loop that makes it work, not the single-shot output of an LLM.

Re:If AI brings 90% productivity gains, do you fire devs or ... by alecbz on Sunday March 22, 2026 @03:20PM (#47481067)
Stuff like this works for things that can be verified programmatically (though I find LLMs still do occasionally ignore instructions like this), but ensuring correct functionality and sensible code organization are bigger challenges.

There are techniques that can help deal with this but none of them work perfectly, and most of the time some direct oversight from me is required. And this really clips the potential productivity gains, because in order to effectively provide oversight you need to page in all the context of what's going on and how it ought to work, which is most of what the LLMs are in-theory helping you with.

LLMs are still very useful for certain tasks (bootstrapping in new unfamiliar domains, tedious plumbing or test fixture code), but the massive productivity gains people are claiming or alluding to still feel out of reach.

Re:If AI brings 90% productivity gains, do you fire devs or ... by jmalicki on Sunday March 22, 2026 @03:28PM (#47481161)
It depends - there are some very very difficult things that can still be easily verifiable!

For instance, if you are working on a compiler and have a huge test database of code to compile that all has tests itself, "all sample code must compile and pass tests, ensuring your new optimizer code gets adequate branch coverage in the process" - the underlying task can be very difficult, but you have large amounts of test coverage that have a very good chance at catching errors there.

At the very least "LLM code compiles, and is formatted and documented according to lint rules" is pretty basic. If people are saying LLM code doesn't compile, then yes, you are using it very incorrectly, as you're not even beginning to engage the agentic loop at all, as compiling is the simplest step.

Sure, a lot of more complex cases require oversight or don't work.

But "the code didn't compile" is definitely in "you're holding it wrong" territority, and it's not even subtle.

Re:If AI brings 90% productivity gains, do you fire devs or ... by alecbz on Sunday March 22, 2026 @03:47PM (#47481350)
Yeah performance optimization is potentially another good area for LLMs to shine, if you already have a sufficiently comprehensive test suite, because no functionality is changing. But if functionality is changing, you need to be in the loop to, at the very least, review the tests that the LLM outputs. Sometimes that's easier than reviewing the code itself, but other times I think it requires similar levels of context.

But honestly I think sane code organization is the bigger hurdle, which is a lot harder to get right without manual oversight. Which of course leads to the temptation to give up on reviewing the code and just trusting whatever the LLM outputs. But I'm skeptical this is a viable approach. LLMs, like human devs, seem to need reasonably well-organized code to be able to work in a codebase, but I think the code they output often falls short of this standard.

(But yes agree that getting the LLM to iterate until CI passes is table-stakes.)

Re:If AI brings 90% productivity gains, do you fire devs or ... by jmalicki on Sunday March 22, 2026 @03:56PM (#47481438)
Strongly agreed!

I think getting good code organization out of an LLM is one of the subtler things - I've learned quite a bit about what sort of things need to be specified, realizing that the LLM isn't actively learning my preferences particularly well, so there are some things about code organization I just have to be explicit about.

Which is more work, but less work than just writing the code myself to begin with.

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Monday March 23, 2026 @04:30AM (#47486730)
> The real magic of LLMs comes when they iterate until completion until the code compiles and the test passes, and you don't even bother looking at it until then.

If you read my post, you’d see that Claude code didn’t do that, I had to intervene in the agent loop and when I did it undid my fixes.

Re:If AI brings 90% productivity gains, do you fire devs or ... by maleldil on Monday March 23, 2026 @06:52AM (#47487672)
This is not compatible with many people's experiences. I use Python with a type checker. I tell Claude that the task is only complete once the type checker passes cleanly. It doesn't stop until there are no type errors. This should be even easier in a compiled language, especially if you also tell it to run the tests.

In fact, I find that with a strict feedback loop set up (i.e. a lot of lint rules, a strict type checker and fast unit tests), it will almost always generate what I want.

As someone else said, each step might be pretty stupid, but if you have a fast iteration loop, it can run until everything passes cleanly. My recommendation is to specify what really counts as "done" in your AGENTS.md/CLAUDE.md.

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Monday March 23, 2026 @07:10AM (#47487814)
I tried again this morning - https://news.ycombinator.com/item?id=47487638 another hard failure that Claude code says passed.
Re:If AI brings 90% productivity gains, do you fire devs or ... by zorak8me on Sunday March 22, 2026 @02:04PM (#47480286)
Providing instruction and context doesn’t seem like a “workaround”.
Re:If AI brings 90% productivity gains, do you fire devs or ... by theshrike79 on Monday March 23, 2026 @03:01AM (#47486254)
Agents are LLMs that use tools in a loop

I didn't give my Agent any tools, it hallucinated code.

...well, yes. It's like evaluating a programmer's skill by having one-shot a program on paper with zero syntax errors.

Re:If AI brings 90% productivity gains, do you fire devs or ... by plagiarist on Sunday March 22, 2026 @02:14PM (#47480409)
IME it does fail pretty hard at first. One has to build up a little library of markdown and internal library of prompt techniques. Then it starts working okay. I agree there is a hurdle still, trying it on one task doesn't really get one over the hurdle.
Re:If AI brings 90% productivity gains, do you fire devs or ... by shafyy on Sunday March 22, 2026 @01:16PM (#47479741)
It's almost like.... LLMs are non-deterministic and hallucinating... Oh wait?!
Re:If AI brings 90% productivity gains, do you fire devs or ... by krastanov on Sunday March 22, 2026 @03:02PM (#47480882)
non-deterministic does not mean it is not biased towards a particular type of results (helpful results)
Re:If AI brings 90% productivity gains, do you fire devs or ... by sigbottle on Monday March 23, 2026 @12:16PM (#47491537)
Idk. Had a friend recommend me gsdv2 and I wasted like 100$ + so much time trying to debug said crap. I went back to codex and it 1 shot my problems easily.

And this was from two people who were 100% aligned on agentic AI coding. I've been using AI for years now and agentic AI for several months now. I was told that I bring out the worst in LLMs. Except... I was able to achieve better results, WITH LLMs, on OTHER frameworks. So like, ?

It may be easier to draw the boundary between "AI and non AI users", but as AI becomes prolific, the us vs them angle that people keep using won't apply anymore.

The age old "user versus tool" debate goes on, but it seems like gaslighting is popular these days.

Re:If AI brings 90% productivity gains, do you fire devs or ... by linsomniac on Sunday March 22, 2026 @03:16PM (#47481020)
My friend, with all due respect, I don't think this is a problem with the AI.

I don't know anything about DotNet, but I just fired up Claude Code in an empty directory and asked it to create an example dotnet program using the Tomlyn library, it chugged away and ~5 minutes later I did a "grep Deserialize *" in the project and it came up with exactly the line you wanted (in your comment here) it to produce: var model = TomlSerializer.Deserialize<TomlTable>(tomlContent)!;

The full results of what it produced are at https://github.com/linsomniac/tomlynexample

That includes the prompt I used, which is:

Please create a dotnet sample program that uses the library at https://github.com/xoofx/Tomlyn to parse the TOML file given on the command line. Please only use the Tomlyn library for parsing the TOML file. I don't have any dotnet tooling installed on my system, please let me know what is needed to compile this example when we get there. Please use an agent team consisting of a dotnet expert, a qa expert, a TOML expert a devils advocate and a dotnet on Linux expert.

I can't really comment on the code it produced (as I said, I don't use dotnet, I had to install dotnet on my system to try this), so I can't comment on the approach. 346 lines in Program.cs seems like a lot for an example TOML program, but I know Claude Code tends to do full error checking, etc, and it seems to have a lot of "pretty printing" code.

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Monday March 23, 2026 @06:49AM (#47487638)
I'm in claude code right now, with opus 4.6. Here [0] is my prompt, plan and result.

When I prompted, it went spelunking in the parent folder for a bunch of stuff, which I interrupted and told it to focus on its current folder. It came up with a sensible plan, which I let it execute. I then switched to a new tab and ran `dotnet run publishing/publish.cs` - like claude says. And the script fails at the first hurdle. The agentic loop came up with a plan, claimed it was done, but _didn't execute the verifiaction it told me it was going to execute_.

[0] https://gist.github.com/donalmacc/e91955be9792a983c375a098ba...

Re:If AI brings 90% productivity gains, do you fire devs or ... by wrs on Monday March 23, 2026 @04:41PM (#47494807)
When CC says "Verification" at the end like that, it means it's assuming you will do the verification. But you can tell it to do it (just say "verify it yourself" or something), and then (if needed) ask it to fix the errors, etc. You could even say "verify and fix errors until it works".
Re:If AI brings 90% productivity gains, do you fire devs or ... by jryan49 on Thursday March 26, 2026 @01:50AM (#47527014)
AI output is non-deterministic right? Can both of you be right? Maybe it gets it right sometimes, and doesn't other times.
Re:If AI brings 90% productivity gains, do you fire devs or ... by fxtentacle on Sunday March 22, 2026 @02:08PM (#47480344)
Same here. While LLMs sometimes work surprisingly well, I also encounter edge cases where they fail surprisingly badly multiple times per day. My guess is that other people maybe just don't bother to check what the AI says which would cause them to not notify omission errors.

Like when I was trying to find a physical store again with ChatGPT Pro 5.4 and asked it to prepare a list of candidates, but the shop just wasn't in the list, despite GPT claiming it to be exhaustive. When I then found it manually and asked GPT for advice on how I could improve my prompting in the future, it went full "aggressively agreeable" on me with "Excellent question! Now I can see exactly why my searches missed XY - this is a perfect learning opportunity. Here's what went wrong and what was missing: ..." and then 4 sections with 4 subsections each.

It's great to see the AI reflect on how it failed. But it's also kind of painful if you know that it'll forget all of this the moment the text is sent to me and that it will never ever learn from this mistake and do better in the future.

Re:If AI brings 90% productivity gains, do you fire devs or ... by jmalicki on Sunday March 22, 2026 @02:45PM (#47480706)
"I also encounter edge cases where they fail surprisingly badly multiple times per day. "

If 80% of the time they 10x my output, and the other 20% I can say "well they failed, I guess this one I have to do manually" - that's still an absolutely massive productivity boost.

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @03:57PM (#47481460)
But they don’t 10x my output - they write some code for a problem I/you have already thought about. The hard part isn’t writing the code, it never has been. It’s always been solving and breaking down the problem.
Re:If AI brings 90% productivity gains, do you fire devs or ... by jmalicki on Sunday March 22, 2026 @04:18PM (#47481704)
It's not the hard part, just the tedious part that takes the most time.
Re:If AI brings 90% productivity gains, do you fire devs or ... by fxtentacle on Tuesday March 24, 2026 @12:52AM (#47498718)
I can typically type faster than I can think.
Re:If AI brings 90% productivity gains, do you fire devs or ... by senordevnyc on Sunday March 22, 2026 @03:43PM (#47481302)
Like when I was trying to find a physical store again with ChatGPT Pro 5.4 and asked it to prepare a list of candidates

I wonder if it was getting blocked on searches or something, and just didn't tell you.

Re:If AI brings 90% productivity gains, do you fire devs or ... by fxtentacle on Tuesday March 24, 2026 @12:55AM (#47498737)
Or maybe the other shops were offering a higher CPC? I heard OpenAI is trying to introduce invisible advertising.
Re:If AI brings 90% productivity gains, do you fire devs or ... by anonymous_user9 on Sunday March 22, 2026 @11:55PM (#47485356)
>It's great to see the AI reflect on how it failed. But it's also kind of painful...

Keep in mind that the AI is not reflecting, and it has no idea it made a mistake. It's just generating statistically-likely text for "apology" * "ai did not find results".

Re:If AI brings 90% productivity gains, do you fire devs or ... by ffsm8 on Sunday March 22, 2026 @02:47PM (#47480727)
> This morning I asked Claude to use a library to load a toml file in .net and print a value.

Legit this morning Claude was essentially unusable for me

I could explicitly state things it should adjust and it wouldn't do it.

Not even after specifying again, reverting everything eventually and reprompt from the beginning etc. Even super trivial frontend things like "extract [code] into a separate component"

After 30 minutes of that I relented and went on to read a book. After lunch I tried again and it's intelligence was back to normal

It's so uncanny to experience how much ita performance changes - I strongly suspect anthropic is doing something whenever it's intelligence drops so much, esp. Because it's always temporary - but repeatable across sessions if occuring... Until it's normal again

But ultimately just speculation, I'm just a user after all

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @03:56PM (#47481439)
> Legit this morning Claude was essentially unusable for me I could explicitly state things it should adjust and it wouldn't do it.

Honestly, this is my experience. Every now and again it just completely self implodes and gives up, and I’m left to pick up the pieces. Look at the other replies who are making sure I’m using the agrntic loop/correct model/specific enough prompt - I don’t know what they’re doing but I would love to try the tools they’re using.

Re:If AI brings 90% productivity gains, do you fire devs or ... by krackers on Sunday March 22, 2026 @06:33PM (#47482950)
Here's an evil business idea: Use the LLMs to identify the users most likely to be "vocal influencers" and then prioritize resources for them, ensuring they get the best experience. You can engineer a bubble this way.

And then the next step is to dynamically vary resources based on prediction of user stickiness. User is frustrated and thinking of trying competitor -> allocate full resources. User is profiled as prone to gambling and will tolerate intermittent rewards -> can safely forward requests to gimped models. User is an resolute AI skeptic and unlikely to ever preach the gospels of vibecoding -> no need to waste resources on him.

Re:If AI brings 90% productivity gains, do you fire devs or ... by oro44 on Sunday March 22, 2026 @07:50PM (#47483628)
"Here's an evil business idea: Use the LLMs to identify the users most likely to be "vocal influencers" and then prioritize resources for them, ensuring they get the best experience. You can engineer a bubble this way."

Its quite likely this is already happening buddy...

The 'random' degradation across all LLM-based services is obvious at this point.

Re:If AI brings 90% productivity gains, do you fire devs or ... by vibe42 on Sunday March 22, 2026 @10:20PM (#47484794)
This is part of why running open models on hardware you control is valuable. They may trail SOTA by 6-12 months (really less for many use cases) but there's more reliability, control etc.
Re:If AI brings 90% productivity gains, do you fire devs or ... by pton_xd on Sunday March 22, 2026 @07:05PM (#47483273)
Last year I had a friend chatting with me about how Claude had rather quickly transformed their small coding shop, except that they noticed after 3pm it consistently became incredibly dumb. I kind of laughed at the time but you know what, who knows. There's very likely some load-balancing shenanigans going on behind the scenes.
Re:If AI brings 90% productivity gains, do you fire devs or ... by oro44 on Sunday March 22, 2026 @07:54PM (#47483668)
I thought it was well known at this point that the best usage happens outside of peak hours?
Re:If AI brings 90% productivity gains, do you fire devs or ... by Ancalagon on Sunday March 22, 2026 @07:17PM (#47483381)
I had a similar experience between this weekend and last weekend!

Maybe Anthropic is trying to cut costs a little and we are all just gaslighting ourselves into thinking its our problem.

Re:If AI brings 90% productivity gains, do you fire devs or ... by foobarchu on Sunday March 22, 2026 @02:17PM (#47480442)
The best experiences I have are those where I can describe what I want done with details. Rather than asking it add toml parsing, I would tell it to exactly which library to use ahead of time and reduce the number of decisions available to the model to make. Some of the most effective use-cases are when you have a reference to give it, e.g. "add x feature the same way as in this other project that is also in the workspace", or "make the changes I made to the contents of directory X in git commit <sha here>, but applied to directory Y instead". In both cases it's a lot of copy/paste then tweaking an obvious value (like replacing "dev" with "QA" everywhere).

I try to give the model as little freedom as possible. That usually means it's not being used for novel work.

Re:If AI brings 90% productivity gains, do you fire devs or ... by alecbz on Sunday March 22, 2026 @03:29PM (#47481178)
> The best experiences I have are those where I can describe what I want done with details.

But that's the hard part! You can only eke out moderate productivity gains by automating the tedium of actually writing out the code, because it's a small fraction of software engineering.

Re:If AI brings 90% productivity gains, do you fire devs or ... by foobarchu on Monday March 23, 2026 @06:32PM (#47496043)
That's why I don't like to claim massive productivity boosts, personally. It's helped me out with the tedious bits that are still necessary. It's also great as an idea board, where I ask for some sample approaches to a problem. That cuts way down on research time, even if a few of the options given are dead ends because e.g. they use an API that doesn't exist.
Re:If AI brings 90% productivity gains, do you fire devs or ... by senordevnyc on Sunday March 22, 2026 @03:48PM (#47481362)
I basically never have agents do work without using plan mode first (I use Cursor). So I'll start with a high-level like: "I want to plan out the architecture for feature X, I think there's a linear project already that we should update once our plan is done, but if not we'll need to create one. Here's a picture of my whiteboard, I think I also wrote some notes in Obsidian a few weeks ago that you should look up. Two things off the top of my head to think about are: should we do X or does it make more sense to do Y? And also, I'm worried about how this might interfere with the blahblah system, so can you do some research around that? <ramble ramble>"

Then it crawls around for awhile, does some web searches, fetches docs from here and there, whatever. Sometimes it'll ask me some questions. And then it'll finally spit out a plan. I'll read through it and just give it a massive dump of issues, big and small, more questions I have, whatever. (I'll also often be spinning off new planning sessions for pre-work or ancillary tasks that I thought of while reviewing that plan). No structure or anything, just brain dump. Maybe two rounds of that, but usually just one. And then I'll either have it start building, or I'll have it stash in the linear agent so I can kick it off later.

Re:If AI brings 90% productivity gains, do you fire devs or ... by DougN7 on Sunday March 22, 2026 @01:18PM (#47479767)
I have similar experiences. It has worked about half the time, but the code has to be pretty simple. I’ve many experiences, where we work on something complicated for an hour, and it is good compiling code, but then an edge case comes to mind that I ask about and Claude tells me the whole approach is doomed and will never work for that case. It has even apologized a few times for misleading me :) I feel like it’s this weird mix of brilliant moron. But yeah, ask for a simple HTML page with a few fields and it rocks.
Re:If AI brings 90% productivity gains, do you fire devs or ... by ball_of_lint on Sunday March 22, 2026 @03:14PM (#47481000)
Did you give claude access to run the compile step?

I remember having to write code on paper for my CS exams, and they expected it to compile! It was hard but I mostly got there. definitely made a few small mistakes though

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @03:50PM (#47481375)
Yes.
Re:If AI brings 90% productivity gains, do you fire devs or ... by phromo on Sunday March 22, 2026 @01:58PM (#47480221)
I don't know why but I find performance on c#/.net be several generations behind. Sometimes right ofc but my general experience is if you pull the generation slot machine in just about any other language it will work better. I regularly do python, typescript, ruby and rust with a better experience. It's even hard to find benchmarks where csharp is included.
Re:If AI brings 90% productivity gains, do you fire devs or ... by wrs on Sunday March 22, 2026 @01:18PM (#47479761)
I’m honestly baffled by this. I don’t want to tell you “you’re holding it wrong” but if this is your normal experience there’s something weird happening.

Friday afternoon I made a new directory and told Claude Code I wanted to make a Go proxy so I could have a request/callback HTTP API for a 3rd party service whose official API is only persistent websocket connections. I had it read the service’s API docs, engage in some back and forth to establish the architecture and library choices, and save out a phased implementation plan in plan mode. It implemented it in four phases with passing tests for each, then did live tests against the service in which it debugged its protocol mistakes using curl. Finally I had it do two rounds of code review with fresh context, and it fixed a race condition and made a few things cleaner. Total time, two hours.

I have noticed some people I work with have more trouble, and my vague intuition is it happens when they give Claude too much autonomy. It works better when you tell it what to do, rather than letting it decide. That can be at a pretty high level, though. Basically reduce the problem to a set of well-established subproblems that it’s familiar with. Same as you’d do with a junior developer, really.

Re:If AI brings 90% productivity gains, do you fire devs or ... by thwarted on Sunday March 22, 2026 @02:10PM (#47480370)
> it happens when they give Claude too much autonomy. It works better when you tell it what to do, rather than letting it decide. That can be at a pretty high level, though. Basically reduce the problem to a set of well-established subproblems that it’s familiar with. Same as you’d do with a junior developer, really.

Equating "junior developers" and "coding LLMs" is pretty lame. You handhold a junior developers so, eventually, you don't have to handhold anymore. The junior developer is expected to learn enough, and be trusted enough, to operate more autonomously. "Junior developers" don't exist solely to do your bidding. It may be valuable to recognize similarities between a first junior developer interaction and a first LLM interaction, but when every LLM interaction requires it to be handheld, the value of the iterative nature of having a junior developer work along side you is not at all equivalent.

Re:If AI brings 90% productivity gains, do you fire devs or ... by wrs on Sunday March 22, 2026 @03:09PM (#47480947)
I didn’t say they are equivalent, nor do I in any way consider them equivalent. One is a tool, the other is a person.

I simply said the description of the problem should be broken down similar to the way you’d do it for a junior developer. As opposed to the way you’d express the problem to a more senior developer who can be trusted to figure out the right way to do it at a higher level.

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @02:19PM (#47480459)
> I have noticed some people I work with have more trouble, and my vague intuition is it happens when they give Claude too much autonomy

What’s giving too much autonomy about

“Please load settings.toml using a library and print out the name key from the application table”? Even if it’s under specified, surely it should at least leave it _compiling_?

I’ve been posting comments like this monthly here, my experience has been consistently this with Claude, opencode, antigravity, cursor, and using gpt/opus/sonnet/gemini models (latest at time of testing). This morning was opus 4.6

Re:If AI brings 90% productivity gains, do you fire devs or ... by Kiro on Sunday March 22, 2026 @03:47PM (#47481345)
Not even the worst possible prompt would explain your unusual experience, so I don't think that's it either.
Re:If AI brings 90% productivity gains, do you fire devs or ... by linsomniac on Sunday March 22, 2026 @03:23PM (#47481109)
> Even if it’s under specified, surely it should at least leave it _compiling_?

Are you using Claude Code? Do yo have it configured so that you are not allowing it to run the build? Because I've observed that Claude Code is extremely good at making sure the code compiles, because it'll run a compile and address any compile errors as part of the work.

I just asked it to build a TOML example program in DotNet using Tomlyn, and when it was done I was able to run "./bin/Debug/net8.0/dotnettoml example.toml", it had already built it for me (I watched it run the build step as part of its work, as I mentioned it would do above).

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @03:52PM (#47481405)
I am using Claude code. I didn’t explicitly tell it what the build command was (it’s dotnet build), and it didn’t ask. Thats not my fault.

> I’ve observed Claude code is extremely good at making sure the code compiles

My observation is that it’s fine until it’s absolutely not, and the agentic loop fails.

Re:If AI brings 90% productivity gains, do you fire devs or ... by linsomniac on Sunday March 22, 2026 @04:48PM (#47481976)
>Thats not my fault.

I don't know that it's useful to assign blame here.

It probably is to your benefit, if you are a coding professional, to understand why your results are so drastically different from what others are seeing. You started this thread saying "I keep getting told I'll be amazed at what it can do, but the tools keep failing at the first hurdle."

I'm telling you that something is wrong, that is why you are getting poor results. I don't know what is wrong, but I've given you an example prompt and an example output showing that Claude Code is able to produce the exact output you were looking for. This is why a lot of people are saying "you'll be amazed at what it can do", and it points to you having some issue.

I don't know if you are running an ancient version of Claude Code, if you are not using Opus 4.6, you are not using "high" effort (those are what I'm using to get the results I posted elsewhere in reply to your comment), but something is definitely wrong. Some of what may be wrong is that you don't have enough experience with the tooling, which I'd understand if you are getting poor results; you have little (immediate) incentive to get more proficient.

As I said, I was able to tell Claude Code to do something like the example you gave, and it did it and it built, without me asking, and produced a working program on the first try.

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @07:27PM (#47483452)
> I don’t know that it’s useful to assign blame here

Oh - I’m blaming Claude not anyone else. I’ve tried again this evening and the same prompt (in the same directory on the same project) worked.

> i don’t know if you’re using an ancient version of Claude code,

I’m on a version from some time last week, and using opus 4.6

> This is why a lot of people are saying "you'll be amazed at what it can do", and it points to you having some issue.

If you look at my comments in these threads, I’ve had these issues and been posting about this for months. I’m still being told “ you’re using the wrong model or the wrong tool or you’re holding it wrong” but yet, here I am.

I’m using plan mode, clearly breaking down tasks and this happens to me basically every time I use the damn tool. Speaking to my team at work and friends in other workplaces, I hear the same thing. But yet we’re just using it wrong or doing something wrong,

Honestly, I genuinely think the people who are not having these experiences just… don’t notice that they are.

Re:If AI brings 90% productivity gains, do you fire devs or ... by wrs on Monday March 23, 2026 @12:00AM (#47485384)
I assure you I would have noticed if the result of my Friday effort was something that didn't compile, rather than a service that seems to work just fine. I've reviewed about half the code so far and it seems quite reasonable.

For some reason I'm getting downvoted for trying to help, but regardless, if you can (and want to) post a transcript somewhere of some of these sessions that aren't working out, maybe some of us who are having more success can take a look and see what's up.

Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Monday March 23, 2026 @06:51AM (#47487651)
https://news.ycombinator.com/item?id=47487638

Fresh prompt in a codebase with a claude.md I asked it to do a simple task. I've shared the prompt, plan, output in the linked gist.

Re:If AI brings 90% productivity gains, do you fire devs or ... by wrs on Monday March 23, 2026 @04:43PM (#47494832)
OK, that was an extremely short interaction -- which may be the problem. I left a comment with suggestions.
Re:If AI brings 90% productivity gains, do you fire devs or ... by Kiro on Monday March 23, 2026 @04:18AM (#47486655)
I understand that you think you are arguing that the models are bad, but the only thing people wonder is what you're doing to fail so spectacularly and whether you're actually being truthful.
Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Monday March 23, 2026 @07:08AM (#47487795)
And I’m wondering the same thing. The people replying to me are saying “your experience must be wrong/you must be doing something wrong” and then 1-2 threads later they say “well yeah it doesn’t do X but if I do Y and Z it works”, which… kind of proves the point?
Re:If AI brings 90% productivity gains, do you fire devs or ... by wrs on Sunday March 22, 2026 @03:14PM (#47481002)
There’s nothing wrong with it that I can see. Like I said, I’m a bit baffled at your experience. I will say, it’s not unusual for the initial output not to compile, but usually one short iteration later that’s fixed. Claude Code will usually even do that iteration by itself.
Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @03:53PM (#47481410)
> I will say, it’s not unusual for the initial output not to compile,

We’ve gone from “I’m baffled at your experience” to well yeah it often fails” in two sentences here…

Re:If AI brings 90% productivity gains, do you fire devs or ... by saulpw on Sunday March 22, 2026 @06:41PM (#47483035)
It's not unusual for my initial output (as a programmer) not to compile either. I wouldn't say I "failed" if I can then get it to compile. Which as people are saying, is what happens with Claude Code and Opus, either automatically or at most when I say "get it to compile".
Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @07:30PM (#47483489)
But when it doesn’t compile for me, I don’t claim it’s finished.
Re:If AI brings 90% productivity gains, do you fire devs or ... by saulpw on Monday March 23, 2026 @01:22PM (#47492424)
Something is really wrong with your setup and I can't tell what it is from these high-level descriptions. Would you be willing to hop on a videochat and walk through this simple case? I'd be really curious to figure out what's going on, it's pretty atypical.
Re:If AI brings 90% productivity gains, do you fire devs or ... by wrs on Sunday March 22, 2026 @07:09PM (#47483320)
Hmm…if you’re giving only one prompt to Claude Code, and allowing it only one output, then I’m no longer baffled at why you’re not getting good results. That’s not how it works. (That’s not how it works when I write code myself, either!)
Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @07:29PM (#47483477)
I mean, I don’t know how much less scope I can give it. The next step is writing the 5 lines of code I want it to write.

I also clearly said I didn’t allow it one output, I gave it the compile error message, it changed a different line, I told it it was at the affected line and to check the docs. Claude code then tried to query the DLL for the function, abandoned that and then did something else incorrect.

I’m literally asking it to install a package and copy the example from the readme

Re:If AI brings 90% productivity gains, do you fire devs or ... by wrs on Sunday March 22, 2026 @08:11PM (#47483808)
I understand (and don’t know what to say beyond “that’s weird”). I was just reacting to your equating “the first try sometimes doesn’t compile” with “it often fails”. That’s only a failure if you stop at that point.
Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Monday March 23, 2026 @04:36AM (#47486762)
In the first comment you’ll see that it didn’t compile, I prompted to fix it and eventually fixed it myself. When I asked it to proceed to the next task it blew away my fix and left it in a broken state.
Re:If AI brings 90% productivity gains, do you fire devs or ... by shireboy on Sunday March 22, 2026 @02:04PM (#47480294)
Similar. I regularly use Github copilot (with claude models sometimes) and it works amazingly. But I see some who struggle with them. I have sort of learned to talk to it, understand what it is generating, and routinely use to generate fixes, whole features, etc. much much faster than I could before.
Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Monday March 23, 2026 @04:39AM (#47486779)
I’ve found copilot to generate worse code, and the editor integrations to be unusable (lets insert this block of code at the wrong place in the file for example), but overall for it to do the right thing enough that I can patch it. I’ve found Claude code just goes mad and gets stuck in a loop and I need to pull it out and figure out where in the hundreds of lines of code it’s generates in the last few minutes it’s gone so wrong.
Re:If AI brings 90% productivity gains, do you fire devs or ... by JakeStone on Sunday March 22, 2026 @02:04PM (#47480293)
If Claude ends up grabbing my C# TOML library, in my defense, I wrote it when the TOML format first came out over a dozen years ago, and never did anything more with it Sorry.
Re:If AI brings 90% productivity gains, do you fire devs or ... by maccard on Sunday March 22, 2026 @02:09PM (#47480361)
Nope! https://github.com/xoofx/Tomlyn

The code it needed to write was:

    var model = TomlSerializer.Deserialize<TomlTable>(toml)!;

Which is in the readme of the repo. It could also have generated a class and deserialised into that. Instead it did something else (afraid I don’t have it handy sorry)
Re:If AI brings 90% productivity gains, do you fire devs or ... by senordevnyc on Sunday March 22, 2026 @03:42PM (#47481294)
This is so perplexing to me. I've definitely hit these kinds of issues (which usually result in me cursing at the agent in all caps while telling it to get its shit together!), but it's almost always a long ways into a session where I know context rot is an issue, and the assumption it's making is a dumb one but it's also in the middle of a complex task...I just haven't had anything remotely like the situation you're describing, where Opus 4.6 can't make a simple change and verify that it compiles, can't look up docs, can't follow your instructions, etc. Bizarre.
Re:If AI brings 90% productivity gains, do you fire devs or ... by jmalicki on Monday March 23, 2026 @06:19AM (#47487458)
It's been awhile, but I once spent four hours trying to get Opus 4.1 to change the color palette of a bar graph, that would've taken me 5 minutes.

The only reason I wasted so much time was that given all of my other positive experiences, clearly I must have been prompting it incorrectly, and I should learn how to fix it.

After blowing four hours I just changed the colors by hand. I took away that it's almost completely unpredictable what will be easy and what will be hard for an LLM.

Re:If AI brings 90% productivity gains, do you fire devs or ... by roncesvalles on Sunday March 22, 2026 @01:25PM (#47479840)
Did you use the best model available to you (Opus 4.6)? There is a world of difference between using the highest model vs the fast one. The fast ones are basically useless and it's a shame that all these tools default to it.
Re:If AI brings 90% productivity gains, do you fire devs or ... by fweimer on Sunday March 22, 2026 @02:21PM (#47480490)
To make this more confusing, there is a fast mode of Opus 4.6, which (as far as I understand it) is supposed to deliver the same results as the standard mode. It's much more expensive, but advertised as more interactive.
Re:If AI brings 90% productivity gains, do you fire devs or ... by moffkalast on Sunday March 22, 2026 @02:47PM (#47480732)
Opus is not cost effective.
Re:If AI brings 90% productivity gains, do you fire devs or ... by senordevnyc on Sunday March 22, 2026 @03:39PM (#47481268)
Compared to what? I spent about $700 last month on Cursor, mostly on Opus 4.6. The time it saved me is at least 10-20x more valuable than that. I keep trying to use GPT-5.3 Codex, because it's like 40% cheaper, but then the quality doesn't always seem quite as good, and it's honestly not worth it to me to save a couple hundred bucks a month for something that's 10% worse. The multiplicative value of what I'm building means it's worth it to pay extra for the SOTA model in almost all cases.
Re:If AI brings 90% productivity gains, do you fire devs or ... by roncesvalles on Monday March 23, 2026 @09:16PM (#47497469)
The cost-effectiveness of something that doesn't work is 0.
Re:If AI brings 90% productivity gains, do you fire devs or ... by prettyblocks on Monday March 23, 2026 @09:39AM (#47489397)
I think good results come from spending a substantial amount of time reading the claude-code documentation and setting up an environment that lets you work in this new paradigm. Asking it a few things, getting poor results, and deciding "it doesn't work when you ask it to correct itself won't get you that far.
Re:If AI brings 90% productivity gains, do you fire devs or ... by the__alchemist on Thursday March 26, 2026 @12:16PM (#47532355)
IMO you may be biting off on the hype comments and descriptions, and assuming too much of the LLM. (Easy to do if reading HN or internet articles)

Approach the prompts concretely. You want it to work on x struct and y function in z module. You want it to follow the structure you already started working on. You want it to work like existing software Y, here's a link to its docs page on the topic. The result of computation A should be B, but it's currently showing as C.

Then it will work great and save you time for many classes of problems.