Live data from Hacker News

The quality of AI-assisted software depends on unit of work management

blog.nilenso.com

121–127 of 127 posts

Re: The quality of AI-assisted software depends on unit of work management

#121

I first tried getting specific with Claude Code. I made the Claude.md, I detailed how to do TDD, what steps it should take, the commands it should run. It was imperfect. Then I had it plan (think hard) and write the plan to a file. I’d clear context, have it read the plan, ask me questions, and then have it decompose the plan into a detailed plan of discrete tasks. Have it work its way through that. It would inevitab…

Don’t give up on TDD. I’ve invested hundreds of hours in process and tooling, and can now ship major features with tests in record time with Claude Code. You have to coach it in TDD - no matter how much you explain in CLAUDE.md. That’s part because “a test that fails because the code isn’t written yet” is conceptually very similar to “a test that passes without the code we’re about to write” and is also similar to “a…

Oh, I will never give up on TDD. And the assistants are great at helping to write tests, and especially analyzing the tests you have and suggesting others for edge cases.

But I have repeatedly seen claude get hung up on TDD itself and I've tried lots of different prompts/directions. It runs into a problem and inevitably runs ever more complicated shell commands and creating weird temp input files than sticking to "cargo test" and addressing the failing test.

Since I need to review the agent's code, I'd much prefer it to use a workflow like a human, with a progression of small commits following TDD--much easier to review the code then. If it's just splatting up big diffs, then it makes review harder, and that offsets any productivity gains.

Re: The quality of AI-assisted software depends on unit of work management

#122
post #119

Earlier quoted context omitted.

Yeah the point is about design philosophy. The physicality or not is irrelevant.

Demonstrate that is so. Provide examples that are not physical.

No. You just don't understand what I'm talking about.

Re: The quality of AI-assisted software depends on unit of work management

#123
post #85
post #5

Earlier quoted context omitted.

With all due respect, you sound like someone who is just getting familiar with these tools. 100 more hours spent with AI coding and you will be much more productive. Coding with AI is a slightly different skill from coding, similar how managing software engineers is different from writing software.

ah, they are holding it wrong. I am always so skeptical of this style of response. Because if it takes hundreds of hours to learn to use something, how can it really be the silver bullet everyone was claiming earlier? Surely they were all in the midst of the 100 hours. And what else could we do if we spent 100 hours learning something? It's a lot of time, a huge investment, all on faith that things will get better.

How many hours do you have mastering git or your IDE or your library of choice for UX?

Re: The quality of AI-assisted software depends on unit of work management

#124

And the value of AI as pushed to us by these companies is in doing larger units of work. But... reviewing code is harder than writing code. Expressing how I want something to be done in natural language is incredibly hard. So over time I'm spending a lot of energy in those things, and only getting it 80% right. Not to mention I'm constantly in this highly suspicious mode, trying to pierce through the veil of my own p…

That makes very clear these tools are not meant to serve you, you are meant to serve these tools.

What is this, that episode of The Twilight Zone called "to serve man"?

Re: The quality of AI-assisted software depends on unit of work management

#125
post #93

Earlier quoted context omitted.

In the area I live, houses are often built one complete room at a time, over many years. They start out as a single-room shack, then the owner builds extensions as they have children or money. Often, they build a porch, and then decades later wall up the porch and turn it into a room of some kind. I kind of like this analogy because it does help us reason about the situation. The one-room shack is basically an MVP; a…

That's interesting, thanks; as you point out, an important aspect of software- as with building architecture is that it tends to evolve over time, and that's where the waterfall approach falls down. However, in software at least, it's not actually necessary to exchange one extreme for another - waterfall or agile; one can take benefits from both approaches, blending foresight and forward planning with modular constru…

> A car manufacturer might conceivably branch into making other types of vehicles, plant equipment …

Do you consider mattresses "similar things like that" ?

Re: The quality of AI-assisted software depends on unit of work management

#126
post #119

Earlier quoted context omitted.

Demonstrate that is so. Provide examples that are not physical.

No. You just don't understand what I'm talking about.

Perhaps if you talked about software instead of house-building, sculpture, cakes …

Re: The quality of AI-assisted software depends on unit of work management

#127
post #8
post #5

Earlier quoted context omitted.

With all due respect, you sound like someone who is just getting familiar with these tools. 100 more hours spent with AI coding and you will be much more productive. Coding with AI is a slightly different skill from coding, similar how managing software engineers is different from writing software.

liszper: > most SWE folks still have no idea how big the difference is between the coding agents they tried a year ago and declared as useless and chatgpt 5 paired with Codex or Cursor today Also liszper: oh, you tried the current approach and don’t agree with me? Well you just don’t know what you are doing.

> Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

https://news.ycombinator.com/newsguidelines.html

Post reply on HN