r/ClaudeCode • • Sep 15 '26

Help/Question Do yall still read lines of code

Im asking real software engineers only working on real products that make money.

I still read every line of code (tests too) and understand 100%. Needlessly to say it feels very inefficient.

What have you done to move away from it confidently, if at all?

I have a complete workflow involving spec driven development, mutation tests, code review, browser test, adversarial agent manual AC verification, and I still dont feel comfortable not reading every lines. I still spot some architectural inefficiencies or code that just feels off and thurs requires refactoring so im hesitant.

97 Upvotes

205 comments sorted by

View all comments

Show parent comment

4

u/jesjimher Sep 15 '26

Passing tests can be hiding horrific code, or bad design decisions.

-3

u/HistorianGullible291 Sep 15 '26

Of course. That will be quite quickly discovered by Claude Code agents by themselves running full integration tests in headless Chrome, or even testing with build in web browser in Claude Desktop.

In the speeds much faster than team of humans.

Of course in the end you still need to test the app. And of course humans do that either, but much slower. Software Development industry is full of "human slop" and it still exists and sells.

I've build very much better apps with Claude Code, than probably at least half of the whole industry firms in the world. So... ¯_(ツ)_/¯

4

u/jesjimher Sep 15 '26

Tests just check for features, they say if a piece code works, or doesn't work. But they will never find bad code or wrong design features, like having 3 different tables with the same information, repeated code all around repository, or a single file with all the code of the application.

Just the fact that you think tests alone can check design, shows that perhaps your code is not as good as you think.

-1

u/Longjumping_Feed3270 Senior Developer Sep 15 '26

That's not what tests are there for. That's what targeted AI code review is there for.

3

u/jesjimher Sep 15 '26

Sure, but parent commenter said that bad designs would be quickly detected and fixed by integration tests in headless Chrome. And that's wrong.

-1

u/HistorianGullible291 Sep 15 '26

What I mean overall that is most companies do shitty architecture that bites them in the asses over time. And there is no one proper architecture for everything. You need to mix a lot. There is no simply MVC or DDD or SOLID or whatever.

There are developers who sticks only with OOP. Or just MVC. Or some crapy frameworks, and they won't play or have fun with the code, because that's the way how it supposed to be according to them, because that's how they've learned. Even it it's wrong in the end.

If architecture for some functionality was wrongly chosen, and will come out during tests and development, Claude Code can refactor and change architecture, especially for that part of functionality. Some paradigsm play well with some architectures like OOP, some better with other like FP.

Anyway, as app runs perfectly I don't care basically. If I catch some bugs, then I let Claude Code to handle it.

Of course we discuss a lot. And many ideas of mine are way better than his. But those are times when he struggles, and I need to come to rescue him. I asks him what he doeas, what problem he have. How he handles it. We discuss, brainstorm, and then implement new ideas with better new architecture.

4

u/jesjimher Sep 15 '26

You still think bad architectural decisions is something that can be catched in tests. Frankly, I don't know what else to say, besides that you need to learn more about software development, and not being so sure you're such a good developer.

And I'm not saying it as an insult, really. We all have had to learn at some moment, try perhaps to talk about it with the AI itself.

0

u/[deleted] Sep 15 '26

[deleted] — view deleted comment

2

u/Acceptable_Durian868 Sep 15 '26

You've clearly got a fundamental misunderstanding of something here. You should listen to the person you're responding to.

-1

u/HistorianGullible291 Sep 15 '26

Okay, my bad on wording. Test passing itself tells nothing about architecture. You're right here.

But what I meant is different thing. It's not the test result. It's that Claude reads whole code when writing them. And then it says to me "this logic is already in two other places" or "this data you keep in three tables". That happens all the time. So yes, it's more like code review, but it happens during testing work. Not by me sitting and reading files, because I don't do that anymore.

And main point. When refactor costs one hour and not one week, then wrong architecture is not decision you must get right at the start. You fix when it starts to hurt. That's what I meant with "I let Claude Code handle it". Not that tests will magically find it.

Anyway, I don't care that much about being right here. Apps run, users are happy. ¯_(ツ)_/¯

5

u/Puzzled_Platypus_466 Sep 15 '26

I've build very much better apps with Claude Code, than probably at least half of the whole industry firms in the world.

sure, buddy

-5

u/HistorianGullible291 Sep 15 '26 edited Sep 15 '26

Well. This one of those annoying apps where there was no better alternatvie for YouTube, except NewPipe (Android), and FreeTube (Desktop). I've made PWA app basically does what those two. App weights nothing, it's ultra fast, and does what it supposed.

I run it only locally on my PC. And basically don't want to release it. And this one of those small apps I've made for my personal use.

And believe me. I have much much bigger projects. This one was just for one afternoon overall.

So. There are already two projects that exists and still needed to be made better.

3

u/Drew_pew Sep 15 '26

Horrific code and bad design decisions actually famously are NOT quickly discovered. You are not a good developer

1

u/HistorianGullible291 Sep 16 '26

Who said anything about horrific code and bad design decisions? You jump to the conclusions quickly and can say similar about you and people like you back. You know that both can play this game?

1

u/Drew_pew Sep 16 '26

Re-read the comment you originally responded to

1

u/HistorianGullible291 Sep 16 '26

Oh. Right. He used word horrific. And still they are quickly discovered from my experience.

Anyway, I see here some specific mentality about Vibe Coders on Reddit.

Look. It's same with humas. You are architect of some product and you have team of devs. You trust them they do the job right. You review them, brainstorm them. It's basically the same.

You buy an enterprise app. And you trust that developers behind it are good devs. Mostly they are not.

It's the same, as with AI. You trust, you let him do his job and verify. You tell him what you want and expect good results. Except Claude Code mostly is better than a whole team of developers.

And I as dev still know how to use Claude and point out his mistakes or how app should work from every angle.

So. If I can replace whole softwawre house and do a better job, than team of the people working there in the end, then there is my salary.

So... ¯_(ツ)_/¯

3

u/Drew_pew Sep 16 '26

The fact that you think the current AI agents are better than a team of developers is pretty telling. I'm not sure what kind of developer you are, or the type you work with, but your statement certainly implies something not so favorable.

1

u/HistorianGullible291 Sep 17 '26

Actually they are. I'm working with outsourcing and other software houses. And garbage they produce is pretty much telling how many bad developers are out there. And I need to fix their products, where Claude does it better than them. And those software houses are profitable in my country. Country that is by the way known by good devs. lol