upvote
But nobody works this way.

If you are specifying the problem in such detail that the only thing the LLM is doing is “typing the literal letters”, you have already thrown away a huge chunk of speedup and the productivity gains are small again.

reply
So no tech lead has ever made a technical decision on something a more junior dev is running by them?

Approving a PR doesn't require any technical decisions?

reply
A technical decision is not the same as understanding the whole thing.

That’s the exact point I wanted to make. You have to give up understanding in order to be faster with agents / juniors. Otherwise why not do it yourself.

This has always been the struggle with people getting into senior roles who are not ready to give up some of their understanding.

reply
Aren‘t those decisions made based on the senior/reviewer’s knowledge of the programming language and its strengths and weaknesses?
reply
Yes. But that's different from doing the raw coding.
reply
Agreed. But at the same time, I think there’s some need to do things yourself to experience the difference and know why using x in this context is better than y.

If all I ever did was copy and paste the top stackoverflow result for anything I wanted to do, it’d probably work, plus some glue logic. But should I always be using that method? Are there edge cases or caveats that I might hit in my use case that weren’t a consideration for the asker’s? Does the algorithm match the kind of data types I’m already using, or will I be adding a lot of conversion overhead to make this code snippet work? Without trying things myself, the best I can do is repeat what I’ve read.

I’m not saying only code yourself by hand, certainly use tools and resources available. But you should do some.

reply
I think it's like the progression from binary to assembly to C to higher level languages built on top of it. Coding experience helps learn how systems work, but typing code isn't likely to be the only way to learn system design, just as assembly isn't the only way to learn to code.

You'll still get broken hand-crafted code no one QAed still, and you'll get well-tested AI-crafted code that someone thought deeply about how it should function.

reply
Agreed. I’ve hand-coded assembly on some 8 bit chips and microcontrollers, and at one point I knew opcodes of a Z80. But I have no clue on the instruction sets of modern processors, they’re simply too complex. I rely on the compiler to do that for me. And I read books and use stackoverflow or similar to get started in unfamiliar territory.

My concern is if a generation comes up that doesn’t have any understanding of how or why things work because they’ve only used automated code generators. I don’t type my code in binary, but if you don’t understand that the computer works in binary and what that means, you’ll see a piece of code generated like “x = (y << 8) | 0xff” and have no idea what it’s actually doing or how that solves the problem. Maybe you don’t need to as long as the code works, but when it stops working you’ll have trouble.

reply
This comparison is still wrong. I see so many people doing it but it’s just not true.

Agents are not another higher level language. When was the last time that your compiler confused a condition with a for loop? Right, never.

Can you explain every single line of assembly that was compiled from C? Yes because it’s a system built by humans to work deterministic and most importantly understandably.

Going from English to C however is nowhere near deterministic.

I have the feeling that everyone decided to collectively give up on quality and engineering. Now it’s time for trust. And no, letting agents write tests won’t help. They can write as many tests as they want and they might all be green but the underlying system can still be a huge mess that will slow down all future development. Instead of putting in a bit of human effort and caring enough to think forward, keep things simple and consistent, etc.

Instead we are building “software factories” that produce slop at a speed that nobody understands anything anymore (not even talking about the code but what your very own software even does).

Ugh…

reply
> When was the last time that your compiler confused a condition with a for loop? Right, never.

When was the last time there was a compiler bug?

> Can you explain every single line of assembly that was compiled from C? Yes because it’s a system built by humans to work deterministic and most importantly understandably.

OK, but AI-generated code renders down, eventually, to… the same assembly (and C, and PHP, and whatnot). The process of crafting the code wasn't deterministic, but that's also true for humans typing. The AI-generated code runs deterministically just fine.

reply
We've had architects that didn't code (perhaps they're still around), and quite a few of those handed out designs with, erm, short-comings.
reply
And architects that do code have not done so?
reply
The good faith interpretation of the comment would be that architects that do code make fewer such mistakes.
reply
Is there evidence for that?
reply
Anecdotally it matches my experience.
reply
Anecodtally, I've encountered good coders who are shit at system design, and vice versa. Project managers who can help steer technical decisions despite not coding. QA people who can spot trouble brewing a mile away.
reply
>Sure, why not?

Because unless you're churning out mountains of boilerplate or slop or boilerplate slop, code is the most efficient codification of those decisions.

reply
Sure, but I don't have to be the person typing it all out to make some of the technical decisions. This is quite common in large projects and teams!
reply
You're also not saving much time unless those technical decisions result in a mountain of boilerplate.

It is true that boilerplate slop is pretty common. I wouldnt deny it.

reply
Like in enterprise codebases or really any nontrivial codebase that has non functional requirements: a11y, security, performance, logging, metrics, scalability, auditability...

Not to mention that even the functional requirements are mostly not even novel #formlibraries

reply
Why do companies employ teams of developers of different levels to work together, then?
reply