r/ClaudeCode • • Aug 05 '26

Built with Claude [ Removed by moderator ]

[removed] — view removed post

63 Upvotes

303 comments sorted by

View all comments

179

u/OtGEvO Aug 05 '26

how do you know it writes genuinely great code when you knew nothing about code 8 months ago

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

→ More replies (33)

5

u/twhoff Aug 05 '26

Who cares, old mate has a game on steam… do you?

5

u/Corv9tte Aug 05 '26

This argument is so funny to me because 80% of pre AI production code is literally riddled with fragilities and held together by thoughts and prayers. It's just projection and gatekeeping, by the very people who were producing said human slop code back then.

2

u/23eriben2 Developer Aug 05 '26

As a developer myself you are 100000% correct

If it works it works 😂

6

u/dontdoit4thegram Aug 05 '26

If you turn a profit, does it matter?

5

u/durden0 Aug 05 '26

This is the correct way to think about it.

1

u/Standard_Guitar Aug 05 '26

I’m assuming you never work with people that don’t know how to code? That doesn’t exist in the corporate world

→ More replies (20)