Remix.run Logo
unknownfuture 2 hours ago

Frankly, if that's truly your flow, then you cannot possibly know if the code really does what you expect it to do.

"TDD" isn't some magic trick. The tests codify the expected behavior. But if you don't review them for correctness, if you let the LLM build them blindly, then you have no idea what those tests assert and can make no claims about whether the code then does what you expect.

That's fine. That's your choice.

But you have to acknowledge you've chosen to accept that you personally cannot vouch for the quality or correctness of that code.

I fully expect this to be the direction the industry goes, where increasingly complex systems exist that no human actually understands or can reason about.

I think it's bad for the industry. Very bad.

But I'm not making those decisions, so... it is what it is, I guess.

cadamsdotcom 2 hours ago | parent [-]

Huh?

I design everything with plan mode and review every line. Nothing happens to my codebase that I don’t decide should happen. With my way of working, tech debt doesn’t exist because I never have to create it.

You’ve made a bunch of assumptions you’re not conscious of. And now you’re blaming me for that.

Open your mind, you never know what you might (un)learn.

unknownfuture an hour ago | parent [-]

So then your response has nothing to do with the post.

The thesis of the post is (paraphrasing): "if an AI wrote it, and I don't immediately grok it or if the code quality is low, I throw it away, even if on the surface it seems to work, because simply 'working' isn't enough to say a piece of code is acceptable."

I'd add as a corollary "and therefore I would never want to be accountable for that code."

If you're reviewing every line then it sounds like you have no argument with the writer and I don't understand what your point is.

Your very first paragraph says:

> If you reject AI code that works then your mindset is still too hands on. Put another way - you still have some loops to work on taking yourself out of.

But if you do indeed "review every line" then you seem pretty damn in the loop yourself and I don't understand what you think taking oneself out of the loop is.