upvote
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