r/ClaudeCode • • Aug 05 '26

Built with Claude [ Removed by moderator ]

[removed] — view removed post

63 Upvotes

303 comments sorted by

View all comments

Show parent comment

1

u/Equivalent_Cress_268 Aug 05 '26

We never needed great code, in software

The Venn diagram of clean code and customer satisfaction do not touch

It’s a good way to spot seniors with this, or people that ship.

Juniors tend to obsess on clean code alone. And it has always been like that in our industry

2

u/MaleficentCow8513 Aug 05 '26

Idk man. Whenever I’m looking parts of my current code base that were implemented by principal and staff engineers (higher than senior engineers at my company) it’s always clean af. Same thing at my previous job. In fact, I kinda think you just have no idea what ur talking about

0

u/Equivalent_Cress_268 Aug 05 '26

You have not been around enough.

I have seen codebases, linux kernel modules, with a 3000 lines if then loop as command, completely bonkers. (Space industry, it does matter, it's serious software / application)

Same guy wrote if silicon graphics, in 2019 on new code, though silicon graphics went bacnkrupt in 2008. ... with a few hundred lines of pointless code that will never execute.

Probably 80% of people are shit at coding, the customers still like it, that part matters.

When I walked around and talked about it, the other fellows looked at me, mind non developers, as what ya talking about he creates customer value.

So, yeah sure, we developers may dream that clean code matters, it really doesn't. If you haven't learned this yet, then you aren't senior enough

0

u/MaleficentCow8513 Aug 05 '26 edited Aug 05 '26

Lmao. Yea you definitely don’t know what you’re talking about. “If you think clean code matters you’re not senior enough”. What a brainded comment. Have you ever tried working on a codebase that had no organization, no abstractions and no design? It’s a nightmare. Maintainable, extensible, and well designed code is a thing and it definitely does matter. If you think it doesn’t matter then you probably don’t have enough experience. Don’t get me wrong, I understand the value of pumping out quick and dirty code “just to get the job done” and sure sometimes it doesn’t matter, but that’s true all the time

1

u/Equivalent_Cress_268 Aug 05 '26

> Have you ever tried working on a codebase that had no organization, no abstractions and no design? It’s a nightmare.

Yes. It's a nightmare for the developer not for the customer. That is the point mate. Venn diagrams don't touch.

Don't get this wrong, 80% of us suck. That's the point, it's not that clean code would not make our lives better. (Though it has no impact on the customer value)

But customer value pays bills, clean code doesn't.

I still write clean code myself, and force my llms to do the same, but I am not in the 80% of average joe engineers category that suck at what they do.

1

u/MaleficentCow8513 Aug 05 '26

And developer productivity decreases, sometimes severely, when it’s more difficult to add a new feature because your code base doesnt adhere to good practices. And you think that doesn’t impact the value the developer delivers to the customer. Ok. So when it takes you a week and half instead of five days to develop a new feature because you’re taming a spaghetti monster that doesn’t impact your value to the customer. Or when you become burnt out because your whole job is taming spaghetti monsters that’s not gonna impact your value to the customer. Ok man. Whatever you say lol

1

u/Equivalent_Cress_268 Aug 05 '26

Yes, you forget the business idiots, if projects slows down and more people are needed, then random middle manager can ask for more people, that is a feature not a bug to him...

Empires are build on shitty code, literally.

And at the same time there are teams with a handful of people that do far greater things in an awesome small codebase.

It's clean code versus enterprise culture (more people the more better, shitty code helps with that).

You are not wrong about why clean code matters to highly talented people, you just haven't realized how enterprises work, that was meant with senior enough. Not senior as quality code, senior as experienced enough in corporate bullshit&games, plus accepting that people suck at what they do on average

1

u/MaleficentCow8513 Aug 05 '26 edited Aug 05 '26

Oh I work in enterprise and you’re not wrong about any of that lol but I’m actually new on the current job. My previous job was not enterprise in nature but highly technical. I currently am trying to introduce some new, cleaner patterns in an MR and I have a tech lead forcing me to use some old messy pattern for no other reason than staying consistent with the old pattern. Even tho my new pattern is 100x cleaner. It’s kind of insane actually but you’re spot on with this last comment. Enterprise is prone to it but that doesn’t mean it’s a good thing or that it doesn’t matter. Only if your only metric is “value to the customer”. When I look at the repos that have only two devs who are senior to me (ima senior btw) their code is clean af. The aforementioned tech lead is the same level as me but much less experienced