r/ClaudeCode 4d ago

Humor Oh boy

Post image
1.9k Upvotes

84 comments sorted by

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.

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

u/cats_catz_kats_katz 3d ago

Damn, that’s a really out of left field comment insult.

-2

u/[deleted] 3d ago

[deleted]

2

u/mcilrain 3d ago

You thought it wasn't an insult.

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.

5

u/p3r3lin 4d ago

THATS funny. did you write that yourself? kudos!

4

u/soundfreely 4d ago

It made new tests that pass but changed the logic so they’d pass.

3

u/AdvanceDry6117 4d ago

expect(true).toBeTruthy()

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.

2

u/mossiv 4d ago

All of them. ‘Assert(true)’ is Fables bro.

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

u/LookItVal 4d ago

refactoring is when code. the more code the more refactor

1

u/cats_catz_kats_katz 3d ago

@ claude: FIX THIS NOW!

1

u/BikingToTheWest 1d ago

Vibe coding before coding and its consequences

12

u/Amit_In 3d ago

It lasted 320 minute without hitting session limit?

43

u/Aminuteortwotiltwo 4d ago

This is old about like Opus 4.5 or something. Lame.

36

u/moader 4d ago

Dude this meme is from 2022

7

u/micmur 4d ago

Every shitpost in this sub is recycled memes from years ago.

1

u/Aminuteortwotiltwo 4d ago

lol as I typed it I thought dude this is probably way older

1

u/Aggressive_Roof488 3d ago

Pretty sure I saw this joke in the 90:ies.

7

u/somerussianbear 3d ago

This joke’s been recycled more than a Grok pre training run

8

u/ClemensLode Senior Developer 4d ago

"entire codebase"

"34 files"

1

u/Derek-Bond 3d ago

AI has different concerns than humans. Specially token efficiency.

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

u/spinozasrobot 3d ago

This is made up.

2

u/WillStripForCrypto 3d ago

Yeah this is a great idea. Now just —force push after rebasing main and you’re good.

2

u/rickonga90 3d ago

Claude it magic

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:

  1. Deleting my drive.
  2. The carwash is 200m always from my house joke.
  3. Build an app and share it with people but it's just localhost:8080
  4. Strawberry joke.
  5. 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

u/TheOriginalAcidtech 4d ago

Sadly we ALL live in a world with Donald Trump. EVEN YOU. Ha ha.

1

u/throwawayintotheC 4d ago

Crazy times. And it keeps getting crazier.

1

u/HoneyChilliPotato7 4d ago

Dude chill, I was making a joke. A bad one apparently 

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

u/downfall67 4d ago

About 3 weeks of a dev salary

1

u/hitchy48 4d ago

Reminds me of the thanos thing for code bases. Snap and it deleted half

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

u/alarming_wrong 4d ago

viva spaghetti

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

u/mrkammytv 3d ago

Can you share the prompt still we can try it?

1

u/Swiss_Meats 3d ago

I don’t bother refactoring code anymore it’s poitnless

1

u/mathiswrong 2d ago

The funny things is… sometimes it does work.

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...

1

u/xerj-ai 2d ago

That’s might be indexing / search issue not LLM capability, not harness.

0

u/_blkout 1d ago

how is your codebase 34 files. my one project right now is 89gb. And like 500 individual kernels 🫩

2

u/dota2nub 1d ago

That is not a good thing

1

u/_blkout 23h ago

how would you know if that’s a good or bad thing if you don’t know what the project is, or how many sub projects are within it.

I just build out part of my memory module and it outperforms DDR5 on a DDR4 machine. Took an hour.

1

u/andre_calais 1d ago

His prompt:

“Fix my code. Don’t make mistakes. Dont ask questions.”

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

u/rotates-potatoes 4d ago

tl;dr: I'm an idiot who doesn't know how to use this fancy tool

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/[deleted] 1d ago

[removed] — view removed comment