frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

The Author of Clean Code No Longer Reviews AI-Generated Code

8•SantiDev•1h ago
Tweet URL: https://x.com/unclebobmartin/status/2080257779395154409?s=20

Robert Martin, the author of Clean Code, tweeted the following:

> I’m significantly older than you. I started coding in the late 60s. My current strategy is to not read any of the code written by my agents. That’s the only way I can take advantage of their productivity. What I do instead is to surround the agents with extreme constraints. Unit tests, gherkin tests, QA procedures, quality metrics, mutation testing, test coverage, and a plethora of others. In the end, I have very high confidence in the code they produce because they’ve had to run the gauntlet of all of my constraints and tests.

Comments

0xedwen•36m ago
the expensive bugs are usually gaps in the spec itself
mirmor23•21m ago
maybe the definition of 'clean code' in the agentic era should be changed to 'the code that complies to the specs, the design constraints and the exhaustive scenario test suite';

this is definitely a better outcome since all the human effort now shifts to spec, design, test scenarios tailored to the domain - as it should be.

having seen my share of human slop through decades (mine included), finally it's a relief to not have to deal with devs that don't have high standards, and the endless arguments/politics that ensue.

with llm it's just a text file away from compliance.

daaaaaaan•13m ago
This is the guy that thinks optionals are too complicated? https://blog.cleancoder.com/uncle-bob/2017/01/11/TheDarkPath...
jvanderbot•12m ago
The author of clean code (who makes his living consulting on how to write software) has pivoted to AI in a spectacular tweet about how to set up automated software development just in time to make his living consulting about how to set up automated software development.

The Author of Clean Code No Longer Reviews AI-Generated Code

8•SantiDev•1h ago•4 comments

BMWs shows in-car ads for Spiderman

5•bigmattystyles•2h ago•5 comments

Goodbye POSIX, Hello Tea Room: Inside MinervaOS Architecture

7•xentnex•5h ago•4 comments

Ask HN: Why is every company encorporating AI everywhere?

21•vanessa1211•10h ago•33 comments

Ask HN: What are the most promising RL fields for a new master student?

34•zecice•1d ago•14 comments

Claude Code getting "API Error: 529 Overloaded"

3•croemer•9h ago•2 comments

Ask HN: Any New Computer Ideas?

5•robalni•14h ago•9 comments

Opus Cost = Minimum Wage in South Africa

4•bridgettegraham•12h ago•2 comments

Ask HN: Where do those LLM-generated outreach emails come from?

3•nicbou•12h ago•2 comments

Ask HN: Does the tech industry require deterministic ML training?

4•Swapnopam•13h ago•0 comments

CstWeave – On-device, privacy-first Chrome extension for tab region GIFs

2•fujidevv•13h ago•0 comments

Ask HN: How do you figure out what you're passionate about?

8•charliebwrites•23h ago•13 comments

Ask HN: What livestream do you keep open in a tab?

52•missmoss•2d ago•18 comments

Ask HN: Protecting your Sites/Services from Unwanted Traffic?

12•prologic•1d ago•10 comments

Ask HN: Is Zig worth it over Rust in 2026?

5•soywod•21h ago•6 comments

Tell HN: Namecheap gave my account to an unverified third party

494•Thrashed•3d ago•176 comments

Endor Labs' AI SAST Finds Zero Day Memory-Y

2•usman_oiu•9h ago•1 comments

Ask HN: Are you using Rust on embedded devices yet? If not, why?

9•mempirate•1d ago•4 comments

Ask HN: Which Jabber clients support SCRAM+ and XEP-0474

12•Bender•2d ago•0 comments

Ask HN: Are we having a substantial increase of "Show HN" since LLM aided coding

7•mdp2021•14h ago•4 comments

Ask HN: What's the best hands-on path to learn ML inference infrastructure?

7•censor5•1d ago•3 comments

Ask HN: HotPin – lossless 120B MoE inference on 24GB RAM (CPU, 50 loc)

13•LozzKappa•2d ago•0 comments

Robotic Adaptation Suffers from Data Collection Bottleneck

2•aunmesh•1d ago•0 comments

Ask HN: Anyone suffering from the tyranny of the Waiting Equation?

3•akersten•1d ago•3 comments

Connection-Agnostic Presence Tracking for Stateless Distributed Back Ends

5•duckydude20•1d ago•0 comments

Ask HN: Do you delete your browsing history?

4•tempestn•1d ago•14 comments

Timed YouTube video transcripts in .txt and .pdf

7•cristyg0101•2d ago•4 comments

What happens behind the scenes when we change effort for same LLM models?

13•tbharath•2d ago•8 comments

Who's making money from using/exploiting AI?

11•jonthepirate•2d ago•6 comments

Ask HN: Is an in-page speed reader useful?

2•jvbotelho•1d ago•5 comments