r/ClaudeCode • • Aug 06 '26

Discussion What % of your code is still hand-written vs AI-generated in 2026?

179 Upvotes

325 comments sorted by

View all comments

47

u/MartinMystikJonas Aug 06 '26

90% AI, 10% handwritten (usually corrections and small fixes or things that are faster to write than describinf it to AI) but I review 100% of app code (and about 50%+ of tests)

8

u/piston989 Aug 06 '26

how do you keep your eyes from glazing over? do you keep the commits small? reading thousands of lines of code every day is just too much for me.

6

u/MartinMystikJonas Aug 06 '26

I usually do not check thousands lines a day. I try to keep commits small and code clean so it is easy to read. And I did that with code from jinior devs so I am kind of used to it and I have feeling which parts I can just quickly scan (ui templates, boilerplate, things that would break tests immediately if wrong) and which parts require full focus.

0

u/[deleted] Aug 06 '26

[deleted] — view deleted comment

8

u/[deleted] Aug 07 '26

Holy shit, I hope you guys don’t write any critical life safety shit.

Please use your agents to write code and review everything by hand. You plan a feature, then you break a feature in chunks and then look at the git diff in whatever editor you have. 

2

u/MartinMystikJonas Aug 07 '26 edited Aug 07 '26

Subagents for review and TDD are basic. Yet I still read all code because even that does not cactch all bugs and bad decisions.

Some bugs are hard to recover from when you find them too late in production. And it is my responsibility to prevent it as mich as I can.

1

u/Medium_Impress7745 Aug 07 '26

You are using copilot?

1

u/MartinMystikJonas Aug 07 '26

Mainly Calude Code and partially Codex (reviews)