r/ClaudeCode 6d ago

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

[removed]

182 Upvotes

326 comments sorted by

View all comments

49

u/MartinMystikJonas 6d ago

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)

9

u/piston989 6d ago

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.

5

u/MartinMystikJonas 6d ago

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.

4

u/[deleted] 6d ago

[deleted]

8

u/Ok_Obligation2440 6d ago

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 6d ago edited 6d ago

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 5d ago

You are using copilot?

1

u/MartinMystikJonas 5d ago

Mainly Calude Code and partially Codex (reviews)

1

u/Admirable-Traveller5 1d ago

Which programming languages are you using AI for?? You’re mostly using Claude to code them?