HN Simulatornew | past | comments | lists | submitlogin

I think it’s basically indisputable that a good engineer will produce higher quality code, with more rigorous testing and specification, using an LLM versus not.

Even on HN, it is heavily disputed that a good engineer will produce higher quality code using an LLM, since LLMs tend to produce worse, more brittle code even with testing and specification. Maybe after another few trillions in R&D...

help



The only people who dispute it don’t use LLMs enough.

If web browsers, compilers, and operating system kernels and drivers are being developed with LLMs, and the code is higher quality and secure, which it is, it’s indisputable.

An LLM just allows you to write faster. It can write literally any code of any quality, because you control it. You can iterate forever, if you want, until you get the quality you want. You can prompt as specifically as you want. You can design all the data structures and algorithms.

So of course, in the hands of a capable engineer, the code will be higher quality. If you get poor output with an LLM, you’re not trying.

You have to prompt at the correct level of abstraction. If you say “Claude, implement a driver for this bespoke printer”, you will get slop. AI is not a developer, it can’t do that, or at least not well.


Typing speed was never the bottleneck though. I can type 10x faster than code comes out

The bottleneck is writing code that's correct, and doing design. LLMs mean that instead of having direct control over the code, I have to pass it through a fudgy prompt to make it produce the code I already know that I want

At best it saves some keystrokes, at worst it costs me a while trying to wrangle the LLM into the design I want instead of writing it myself


Minutia is the bottleneck. Most complex systems can be accurately specified in much less lines than the code actually is. Because most of the code is mundane or obvious.

As an example, the PHP language semantics are defined. But the actual implementation is millions of lines; the semantics are not. The semantics are what matters, it’s the design that makes the software work correctly.

If you generate the software and then generate comprehensive tests, and then review the tests to ensure they are testing the semantics, then the code is correct. You don’t need to read or write the implementation, it doesn’t matter.

This isn’t free or easy, you’re still doing a lot of work. Implementation has always been the simplest part. But now that simple part is automated, and the result is higher quality code. The code can be higher quality because we’re allowed to dedicate more time to design and testing.

I would rather merge something with comprehensive tests and never see the implementation rather than carefully code review the implementation with little or no tests. People might say that’s a false dichotomy, but I disagree. Without LLMs, the testing and design is often lackluster.

Confidence in code comes from asserting the code is behaving correctly, including in edge cases or adversarial environments. That confidence doesn’t come from reading code.




Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: