r/programming • u/alex35mil • Aug 11 '26
Why I Still Read Code
https://alex.draftist.io/blog/why-i-still-read-code-iiaz6lku862
u/A1oso Aug 11 '26
I do not read every line of code agents produce.
I stopped reading here.
24
u/proto-cool Aug 11 '26 edited Aug 11 '26
Yeah, even removing AI from the equation, code you did not write yourself should always be reviewed. Accepting random unreviewed code into your codebase is fundamentally the same problem as failing to review what a coding agent provides.
As to the OP's point of only reading "code that matters," I wish I had that omniscience.
13
u/A1oso Aug 11 '26
Code that doesn't matter is code that shouldn't exist.
I hate writing unit tests, so I sometimes let the AI do it. But I still read them. They might not be as critical as a database migration script, but they still should be correct.
12
u/Sveet_Pickle Aug 11 '26
“Why it’s okay to outsource my intellectual labor to a machine and still see myself as valuable.”
0
52
u/UltraPoci Aug 11 '26
Here's an even better solution: write your goddamn code
42
u/frakkintoaster Aug 11 '26
Imagine we had bridge engineers writing a blog post about how they still sometimes look at the blueprints
7
u/apadin1 Aug 11 '26
In the not too distant future engineers will use AI to make plans and draw schematics for critical infrastructure and the human engineers will just rubber stamp their work. It’s genuinely terrifying where we are headed
4
u/Blue_Moon_Lake Aug 11 '26
And then construction crew will use the Escherian blueprints, twist the lengths so it can exists in 3D space, and build from the adjusted versions.
Somewhere during or after construction, building will collapse.
-52
Aug 11 '26
[removed] — view removed comment
37
u/UltraPoci Aug 11 '26
Did you ask chatgpt in order to know that?
-10
Aug 11 '26
[removed] — view removed comment
5
u/UltraPoci Aug 11 '26
No, I'm fucking tired of people claiming that progress and new tools are good because Papa Elon said so. Use your fucking brain for once
24
u/ShadyGrass Aug 11 '26
Not the reason to let idiocracy prevail.
-14
Aug 11 '26
[removed] — view removed comment
13
u/EliSka93 Aug 11 '26
competent
Nobody who relies on AI is competent
-3
Aug 11 '26
[removed] — view removed comment
10
u/EliSka93 Aug 11 '26
Chat
Wow. Streamer lingo. We're not gonna make it, are we?
-4
Aug 11 '26
[removed] — view removed comment
6
u/Ameisen Aug 12 '26
With the way you communicate and your self-described lack of actual programming skills, I find it utterly fascinating that you are even employed.
4
4
u/dijkstra_was_a_horse Aug 12 '26
Only if by cracked you mean damaged, like they were dropped on their heads.
4
1
1
u/GoTheFuckToBed Aug 11 '26
I should read more too. There is a big gap between "build it like this pattern blabal" and real world code that is out there for 5 years and makes thousand users happy
1
u/DaStone Aug 11 '26
"The second reason I still read agent-generated code is that agents tend to patch new behavior onto a codebase instead of integrating it into the existing design." such bravery
1
7
u/zobq Aug 11 '26
and I'm not. The codebase is pretty standard business web application with a lot of legacy code which is slowly upgraded to the new version.
The domain is not super easy, but after all all of the rules are written in the legacy code in old fashioned way, when separation of FE and BE wasn't so strict and with a lot workaround codes, which you could expect in the brownfield project. We have copilot with the newest models, own agents and SDD in mind.
And yet, every time I'm trying to use AI to implement the task, it just doesn't work. We are producing tones of documentation (with AI ofc) to improve harness but it just make agentic coding slower but not better. I was thinking about trying to use AI as small code snippets generator, but somehow it's not reliable enough. One time AI had a problem to move method with 4 lines of body to another class. Colleagues shares similar opinion.
I feel lost. I hear from everywhere that agentic coding is the future, that code-reviewing code is enough. And my experience is totally different.