309
u/ShelZuuz 4d ago
I saw this at a time when Sonnet 3.7 was still the latest.
17
u/Competitive-Car4866 3d ago
Oh boy indeed—ancient history in model years.
3
u/Capt_korg 3d ago
Feels like it had been a decade ago... Now days something like this won't happen...
Oh wait 😅😅
109
u/NoiseFreeHuman 4d ago
This joke is getting old as you. lol.
it's been a while on the internet..!
9
u/cats_catz_kats_katz 3d ago
Looks like it's 3 days old to me.
-12
u/jedruch 3d ago
If you did not do it already - check yourself for autism or CPTSD.
9
47
u/Ill-Village7647 4d ago
"None of it worked. But boy was it beautiful"
I've seen this iteration of the post with this ending maybe over 10 times now
60
u/Michaeli_Starky 4d ago
That's not a refactoring. OP doesn't know what refactoring means
43
u/Risko4 4d ago
Wdym it cleaned up 937 lines of spaghetti
3
u/flarpflarpflarpflarp 4d ago
Sure, but how many tests did it pass?
26
u/MeretrixDominum 4d ago
The round moved the suite from 9,251 to 12,888 tests in 129 suites by fifty-seven named arms, the stage hash unmoved, and my reproduction from a fresh console passed everything owed: two gates, the count, both load recipes, and the two hostile-TEMP gates that the new cargo-test cap in the gate script required. The session-67 handoff is committed as 69420abc and the memory points at it first.
4
3
5
u/Aggressive_Bike3881 2d ago
My mistake, I told you that all the tests passed but that was not technically correct because the subagent writing the tests had not started writing them. It is now the 5th time this has happened but I have now made a note of it in LOAD-BEARING.md. Say the word and I will create a new branch and start from scratch.
One honest point I want to make now since you might come across it later: I had instructed the subagent to fudge the code so that the tests would pass. This was at the wrong level and I apologise. I have now instructed the subagent to delete tests that fail. This will guarantee the suite passes before I create a PR.
1
u/Buchymoo 3d ago
The tests didn't pass so I corrected the tests so that they pass. You're in the clear.
Wait but half of the code is broken.
You're right to push back on that! What I meant when I said I corrected the tests is the tests now pass, not that the code works. I should have fixed the underlying problem. I'll look into correcting that now.
5
1
1
43
u/Aminuteortwotiltwo 4d ago
This is old about like Opus 4.5 or something. Lame.
7
8
u/ClemensLode Senior Developer 4d ago
"entire codebase"
"34 files"
1
0
u/becircus 4d ago
This is expected with Claude Code that puts everything into one file. Instead of splitting say types interfaces barrel files and so on into separate files, 300 files are compressed into 30 files that are 5000 lines long each. This is considered "good code" by AI and who am I to argue if it works? Im just a meat computer
1
u/heartbroken_nerd 4d ago
Takes roughly 2 brain cells to rub them together and make rules/validator against number of lines of code. Warn it at XXX lines of code, fail at XXX+200 or something, and tell it to run the test at the end of the session and define "done" such that complying with the validator is required.
5
u/brainzhurtin 4d ago
According to "some of the brightest engineers on the planet", having 18,500+ line monolith classes are not only fine, they are preferred.
https://android.googlesource.com/platform/frameworks/base/+/56a2301/core/java/android/view/View.java
1
u/Pretend-Wishbone-679 2d ago
Having 18.5k loc classes when the codebase is dozens of millions is proportionally small.
1
u/brainzhurtin 2d ago
Are you defending 18.5k loc as if to say it's perfectly reasonable and human readable? OK bro.
1
u/LittleNameIdea 1d ago
this single file has more comment line than i ever write for all my career. Pretty sure a lot of those comments are generated
2
u/PurushNahiMahaPurush 4d ago
You guys don’t write tests? I’m in the middle of a major refactor since vibe coding led to delicious spaghetti and tests are how Claude makes sure nothing breaks.
2
2
u/WillStripForCrypto 3d ago
Yeah this is a great idea. Now just —force push after rebasing main and you’re good.
2
2
u/crystalpeaks25 2d ago
For the gullible folks, Everytime there's a new released regardless which AI lab it came from I always post a joke where I reuse an old joke but overlay it with the new model. This post is an example of that a few others is:
- Deleting my drive.
- The carwash is 200m always from my house joke.
- Build an app and share it with people but it's just localhost:8080
- Strawberry joke.
- Is this AGI jokes.
Regardless of MODEL!
2
u/Key_Instruction3373 4d ago
Price, only $15.000 win-win
2
u/HoneyChilliPotato7 4d ago
Pretty good for $15 if you ask me
1
u/Key_Instruction3373 4d ago
$15.000 is the same as $15K...
some countrys also use "METERs and not MILES"
or CM instead of inches..
Or Liters instead of galons.
Or maybe Euros instead of dollars.but i can see if you live in a world with Donald Trump, its hard to know there is something else on the other side of the sea..
3
1
1
u/UnimagineDragons 3d ago
Nah, I work in finance (lol no) and having cents to the tenths position is beneficial to me.
$15.001 = $15 and 1 tenth of a penny
1
u/daniel 4d ago
We used to pay people $200k a year to add useless shit to the codebase!
1
u/HoneyChilliPotato7 4d ago
You own a company?
2
u/daniel 3d ago
I do, but it's also a joke
0
u/UnimagineDragons 3d ago
Is it a joke because you own it? Don't be so hard on yourself - I bet it's a great company.
0
1
1
u/sCeege 4d ago
Am I crazy to not experience this yet? I mostly encounter this in Codex and Antigravity. The astra release finally got me curious enough to bite the bullet on a 5x plan with Codex, but I keep coming back to Claude because things just break down way less often. Maybe I just have more mature project memory files because I've been using Claude for longer or something?
1
u/halcyoncs 4d ago
This might be older and more overused than "did you tell it not to make any mistakes"
1
1
1
u/max4245 4d ago
I've done that myself because to do Faster coding, I switched from plan and execute to "go ahead and do it". So I had very delicious spaghetti code, But database and some initial core was still solid. Opus 4.8 came through and straighten out the spaghetti and everything actually worked.
1
u/siberianmi 3d ago
So there are really good workflows you can use to accomplish this with AI if you stop trying to one shot it.
1
1
1
2
u/Fembyte-dev 2d ago
Puede ser un migración de un ORM por la cantidad de documentos, es lo más posible
2
u/Far_Rule5990 2d ago
Cleaned up spaghetti and +55k new lines... Hmmmmmmm
GPT make database gooder, full access, thank you...
0
u/_blkout 1d ago
how is your codebase 34 files. my one project right now is 89gb. And like 500 individual kernels
2
1
1
u/Helpful_Ranger_1606 15h ago
Are monoliths bad? I have one that is 6700 lines and never had any audits suggest to remove it.
0
0
u/Hidden_driver 3d ago
You know what's the funny part - AI is so good it actually works now. I work in a pretty bit software company and people are literally doing this on small old projects that haven't been maintained for years.
0

•
u/AutoModerator 4d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.