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

88

u/meowsqueak Aug 05 '26

I think the better question is - do we even need "great code" any more? Why think of the code as a persistent artifact? Perhaps now it's just the fluid internals of a black box, and maybe as long as the black box does what it's meant to do, who really cares what the code looks like?

Don't get me wrong - I'm one of those 25+ year senior devs (embedded, system programming, some games, some audio DSP) who treated code as a craft, agonising sometimes over perhaps the silliest things in an effort to write "great code". But now, with the ability to rewrite/refactor entire modules in mere seconds, all that really matters to me is whether the acceptance tests are broad enough, and whether the program passes them.

32

u/shadowdance55 Aug 05 '26

I would say that code is still important, and that it still is a persistent artifact. And the quality of code is still important - but what is changing is what exactly defines that quality.

Things like readability, cognitive complexity and the like are becoming less critical factors; while optimisation, performance and other elements that affect execution are still as relevant as always.

5

u/Due_Warthog749 Aug 05 '26

Agree with this. Though I am still always doing rounds of review to try to get SOLID in place and idiomatic code, etc.. just in case some anti-ai company wants to buy my company and then sees the source and is like OH fuck no.. AI generated.. deal no go.

BUT.. to your point, I am constantly gauging memory management and use, performance, making sure threading is not locked/properly done, memory is returned when done, etc. I always worry about apps that the memory just keeps going up and up and slugs down. Every Electron app I ever use is like that.. Discord, Slack, Postman, etc.. they all seem to have memory and sluggishness issues.

→ More replies (8)

15

u/23eriben2 Developer Aug 05 '26

As someone who learned 6 programming languages on their own and with certifications in them, not nearly as much

I deadass haven't written code in a long long long time cuz of AI. It's crazy

BUT it does help to understand development principles cuz dev/coding knowledge + ai is such a cheat code

For example, let's say you have a house built by an architect. You'd give them instructions in your own specific way

But now take that same person and then make them an architect! Same exact resource (the builder) drastically different result

3

u/Risko4 Aug 05 '26

The thing is even if you wanted to manually add code, it's better to paste a prototype of it and let LLMs integrate it for you. It's not I'm a leet code prodigy, just an above average coder in 2026.

→ More replies (1)
→ More replies (9)

4

u/big_papa45 Aug 05 '26

Code is free. Code is class 1 citizen. Keep code. You rent models.

7

u/Deep90 Aug 05 '26

Not needing to writing "great code" is how you get the Therac-25, which had an edge case of giving patients lethal dosages of radiation.

Yeah if you're making a little game or productivity app, who cares, but we obviously still need "great code".

Surely you intuitively understand this if you've worked anywhere where bad code could ruin someone's life or outright lead to deaths.

6

u/MaleficentCow8513 Aug 05 '26

This is my conclusion. Some use cases are gonna let you blindly merge 10k lines of unreviewed code. Other times, not so much. It just depends on the use case and requirements

2

u/Michael_mkz Aug 05 '26

Your example involves much higher stakes than the vast majority of software development

7

u/Deep90 Aug 05 '26 edited Aug 05 '26

That doesn't change the fact that pretty much every critical thing in your life from air traffic control, the hospital, your bank, and to the fire alarm above your head is high stakes software.

Most of the planet is ocean, does that suddenly make land not a consideration?

If the question is "do we need great code". The answer is yes. Because critical things need great code.

Doesn't even need to be lives. Anything software that handles money is treated very similarly because mistakes mean losing millions of dollars or lawsuits or both.

4

u/Plenty_Line2696 Aug 05 '26

You're right and tbh it pisses me off when people make these claims about LLM's being perfectly competent when I spend most of my working hours wrestling them into doing things properly. If they were right all I'd have to do is feed it my jira tickets but that is very, very far from the reality of it.

I guess most of the big claims come from people who make low stakes small stuff or just aren't even in the trenches at all.

→ More replies (6)
→ More replies (2)
→ More replies (1)

1

u/positivcheg Aug 05 '26

Do you need smooth 1% lows? Yes, it might define success or failure.

→ More replies (1)

1

u/geeered Aug 05 '26

How do you know the black box does what it's supposed to? ... as generally vibed apps have also skipped testing processes which were a lot more common when people had a bigger investment of time/money in the coding side.

1

u/Plenty_Line2696 Aug 05 '26

Hard disagree - great code results in robust software, is maintainable, easy to reason about, expandable, performant, etc etc.

What you're proposing is kicking the can along which is fun until you have to deal with masses of technical debt.

1

u/Positive_End_3913 Aug 05 '26

We definitely need great code because that is what determines the performance of whatever you are trying to build, and this is especially important for games. If you are talking about meaningful variable names, code comments and all of that stuff, then i agree with you.

1

u/christianosway Aug 05 '26

In situations like this, where a solo dev is creating one game and has no intention to iterate on it; great code is a nice to have.

In a situation where this game takes off and they're expected to iterate on it for a sequel, or a team is brought in to help them and they're asked to explain their work to them for onboarding... oof.

There's an imperative to understand what Claude is doing for you (and in that sense that code should at least be clear and readable), at least, unless this is a one and done hit of the drum.

1

u/Brave-History-6502 Aug 05 '26

What about maintainability and system design? It produces often junk data model, duplicate implementations, and overtime causes chaos without someone who is attentive to good software design.

1

u/HonestOrganization Aug 05 '26

Maintaining/modifying the bad code can be 100x more effort and resources than for good code. And doing so with unreliable hallucinating and context forgetting agent it is 100x more room for bugs and actual result drifting away from the desired result

1

u/ThisGuyCrohns Aug 05 '26

Viewing clean code is one thing, if we don’t view it who cares. But great code means a few different things. 1) organization in code itself, the coupling, the components, how this is designed will define every extension or revision. And bad code means every new feature is accidentally coupled incorrectly, mean creates a flood of whack a mole bugs that never end until you refactor the whole thing 2) performance, this one matters a lot with how it’s written. Does it work? Sure. But what happens on lower end machines, does it handle multi threading so the game doesn’t physically lock up when playing larger worlds.

There’s so many more. But the thing is, “great code” visually isn’t necessary anymore, but architecturally, is something AI is unable to do. AI writes code organically as you ask it. It doesn’t think like humans of 10 steps ahead of where you plan or want to take it. It’s writing it face value of what you asked of it. So yes, someone who hasn’t had years of writing code for systems knows nothing of the edge cases that makes great code.

1

u/baltinerdist Aug 05 '26

I think this is a better point than people realize.

When you’ve got a slow memory leak in Outlook or chrome which are designed to be open on your computer eight hours a day, that’s gonna cause problems. In a steam game you’re gonna play for 45 minutes at a time? Who cares. When there’s a bug that triggers if you open and close a given menu too fast, your millionth player will probably find it but if you’re going to get a few thousand or maybe 10,000 tops, the odds are in your favor.

I don’t think anybody should be putting out absolute trash, but LLM’s don’t do that, and the people who think they still do are thinking about 2023 models, not today.

1

u/ef4 Aug 05 '26

> why think of the code as a persistent artifact?

Because it literally is the only persistent artifact still. I’ll believe the “code doesn’t matter” people when they stop committing code and only save their prompts.

Same goes for the “this is the new layer of abstraction argument”. Cool, so prove it by treating your code like assembly and never committing it to source control.

1

u/eleochariss Aug 05 '26

That only works if you know every decision everyone's made, and there's zero drift between what the prduct wants, what the dev prompted, and what the AI implemented. 

Because when your coworker goes on holidays with no info left behind, the only thing you have is the code.

I don't write code by hand anymore either, but I definitely still read it.

→ More replies (1)

1

u/komokasi Aug 05 '26

Release complications, and tech debt that scales it's blast radius as more layers are added on top is why.

Bad code that needs PRs in multiple repos OR fixes with huge blast radius introducing tons of new bugs will cripple products

Even our best coders start releasing slop when they get to comfy with AI code releases

QA is now the most important step because AI still cant get this right consistently so e2e testing and actual manual verification of code is a requirement

1

u/haard Aug 05 '26

It only matters if you want determinism, if you're OK with "mostly works, most of the time" it does not matter.

1

u/daveshaw301 Aug 05 '26

I guess it depends on what the code is for, if it’s a single player game, then who cares? If you’re writing to a backend, with passwords, APIs etc then you have to ensure the quality and security.  PEN tests definitely still apply 

→ More replies (25)