Why Software Factories Fail

"Read the Code!" is one of the key ideas from Dex Horthy's talk "Why Software Factories Fail".

The author touches on a very hot topic right now: we are actively pushed to put AI-generated code into production, build software factories, and eliminate the human bottleneck from the process. And all of that would be great if, at the same time, the overall quality of software products wasn't going down and the number of incidents wasn't going up.

Dex explains this phenomenon by pointing to a fundamental limitation of current models: they can't maintain and improve the quality of a codebase over time. Models are trained to solve the issue and pass the tests. There is nothing there about good architecture, clean code, or future maintainability.
If the model knew what good code looks like it would write it in the first place.
What to do with that? Dex suggests to do the following:
🔸 Make Product Review: align goals, check mockups, etc.
🔸 Do System Architecture: establish clear component boundaries and API contracts.
🔸 Perform Program Design: define types and method signatures, test approach, program layout, and dependency stack.
🔸 Implement by Vertical Slices: build features vertically, reducing the scope of what an agent can change in a single iteration.

So, it's all about shifting review left to earlier stages and focusing more on architecture and program design (I described similar ideas about code review here). And then let agents make small changes that engineers can actually understand and review.

And yes, we still need to review the changes.

#engineering #codereview #ai
221006

44

1h

133

12h

188

24h

210

48h

2.71%

ER

First 24 hours
HourGrowthTotalReactions
09:36+1h+4444+1
10:36+2h+8520
11:36+3h+860+1
12:36+4h+8680
13:36+5h+8760
14:36+6h+8840
15:36+7h+993+1
16:36+8h+81010
17:36+9h+81090
18:36+10h+81170
19:36+11h+8125+1
20:36+12h+81330
21:36+13h+51380
22:36+14h+41420
23:36+15h+51470
00:36+16h+41510
01:36+17h+51560
02:36+18h+5161+1
03:36+19h+41650
04:36+20h+51700
05:36+21h+41740
06:36+22h+51790
07:36+23h+41830
08:36+24h+51880
By day
DateGrowthTotalReactions
Mon, Sep 28+188188+5
Tue, Sep 29+22210+1
Wed, Sep 3002100
Thu, Oct 1+12110
Fri, Oct 202110
Sat, Oct 302110
Sun, Oct 402110
Mon, Oct 5+12120
Tue, Oct 602120
Wed, Oct 702120
Thu, Oct 802120
Fri, Oct 9+12130
Sat, Oct 1002130
Sun, Oct 1102130
Mon, Oct 1202130