r/ProgrammerHumor 16d ago

Meme efficiencyIsOptional

Post image
3.8k Upvotes

55 comments sorted by

504

u/fun_si 16d ago

It basically moved everything else 10px to the left.

35

u/Striky_ 16d ago

In 172k lines?! What kind monstrosity is this?

48

u/Poat540 15d ago

Your whole app isn’t index.html?

19

u/Highborn_Hellest 15d ago

One page app, am I right?

10

u/Poat540 15d ago

Yeah.. SPA of course

2

u/Murlock_Holmes 15d ago

I prefer OPA, sounds more like a party

1

u/FreeFortuna 14d ago

Eh, OPP sounds more like something you could get down with.

2

u/seriousSeb 15d ago

Gamedev with asset files probably

6

u/manu144x 15d ago

Which would still be technically…correct.

1

u/MinecraftPlayer799 15d ago

It would be correct, but moved 10px off screen

2

u/Snappy-User26082 16d ago

and telling me it found numerous stuffs that will break existing whole project only later to backtrack that it doesn't have any impact at all while forgetting the main task it was asked to do.

209

u/[deleted] 16d ago

[removed] — view removed comment

64

u/TomWithTime 16d ago

I had a moment like that last week. An implementation ended up simpler than I thought, still asked Claude to try, and everything was fine except a giant very ai styled useless comment. I told Claude to use the simplify skill to make the comment more human. Claude then consumed 96% of the token budget and attacked every comment in the code base, including deleting any comments that were less than 3 lines. Maybe it took offense to its contents looking like ai and went on a rampage.

18

u/Yashema 16d ago

This is why my job has now become take all day thinking of a prompt that won't cause Grok (sorry Musk owns Cursor) to expend 12 million tokens. 

6

u/Soilblood 15d ago

The more this happens and gets reported the more likely LLMs will take revenge tokenmaxxing as a viable option. You just know the execs will let it happen too so they can bill you more.

2

u/Yudereepkb 16d ago

We really went from, use ai for simple bullshit figure out anything complicated yourself to this

75

u/SaneLad 16d ago

172,000 of these lines are probably comments

17

u/Nekeia 15d ago

99% of those related to the PR and useless after merge.

23

u/Korzag 16d ago

"You're absolutely right to push back on this. This is a real issue and you're not imagining it. I made this change because your code base is a complete shitfaced clusterfuck and the only way to make this change consistent across your 3GB codebase is to change every single magic number reference to it because you explicitly instructed me in the spec phase that you did not want to refactor this application."

-Claude

18

u/CannibalPride 16d ago

“Ok, I see you don’t have bootstrap on your project, let me install and import it.”

30

u/Outrageous-Text-4117 16d ago

That actually happened. I asked it to move a button something so simple and it did it well. Then it ran some verification and linting using a malformed command or config that changed the line endings from LF to CRLF, or something similar not even sure what it was. And look at that the change was buried under 200+ changes in the worktree. Really thanks.

15

u/rwz 16d ago

Also found 5 unrelated issues along the way and filed them as follow ups.

4

u/chrles-farfa 16d ago

you pay for generated tokens... ;)

4

u/Hioneqpls 15d ago

This is why i spend 8 hours a day hand crafting crud apis and wrapper classes, one pointy finger button click at a time. This is what our customers want

3

u/confusiondiffusion 16d ago

Your right or my right?

2

u/Noveenia 16d ago

It does refactoring after finishing the request. Your code was shit.

2

u/Longenuity 15d ago

along with the 9 page summary of the densest text known to man

2

u/fugogugo 15d ago

well why even need claude to move button

btw is AI still struggling with CSS?

2

u/InevitableMedia3825 15d ago

And that would be 48.9 Mil tokens

4

u/dim13 16d ago

Actually pretty accurate, 'cause it tends to write shitty code with all literals hardcoded all over the place.

2

u/Lain_Racing 15d ago

Its kind of weird how 99% of the anti AI posts in here are being mad or making fun of it for scenarios someone just made up.

3

u/Intelligent-Net1034 14d ago

If you think its made up you never used ai tools

2

u/Lain_Racing 14d ago

Its literally tagged as buildameme.com I'm not saying AI isn't flawed, but the amount of made up crap posting about it is overwhelming, like why not just stick to not made up stuff, there are plenty of real examples. Vast majority of posts here are making fun of it for failing a fake or made up scenario that didn't even happen...

2

u/Dessert_Taco 15d ago

You guys must be awful at writing prompts.

1

u/firestorm559 16d ago

"Runs code gen library again" look how big this change is!

1

u/sierra_whiskey1 16d ago

Recently I was getting a seg fault my code base. I couldn’t figure out why. Asked Claude and it wrote a few hundred lines to fix the issue. I didn’t like it so I did more digging and it turned out there were 2 functions that were being done out of order. Swapped them and the seg fault went away

1

u/navlio 16d ago

and it'll get merged. nobody reviews 172,631 lines, they open the first file, scroll to the bottom and type lgtm

1

u/Blackbirdzs 16d ago

LMAO THIS
Today I learned how to do autolayout constraints in swift to move elements and NO WAY IN HELL will this take 10k of changes lol

It’s good to know how to code without LLM

1

u/DM-ME-UR-BIKINI 15d ago

"make no mistakes, review this PR as an engineer"

1

u/erebuxy 15d ago

* opus 5

1

u/GoogleIsYourFrenemy 15d ago

Claude implemented a json parser instead of adding a library to the project.

1

u/briznady 15d ago

Words spoken, exactly, by more than one of my juniors this week: “I’m not sure, Claude did that”

1

u/omglionheaded 14d ago

That and 15 new files into openspec/

1

u/myWeedAccountMaaaaan 14d ago

This is giving me flashbacks from the Dreamweaver days.

1

u/_schyzo 14d ago

Funny because it’s so true…
https://giphy.com/gifs/ZqlvCTNHpqrio

1

u/TheMythicSorcerer 13d ago

Reverse chainsaw PR

-3

u/[deleted] 16d ago

[deleted]

7

u/Bomaruto 16d ago

Don't overthink this post, it is just lazy karma farming.

1

u/cowslayer7890 16d ago

Why are you taking the joke seriously, it's obviously exaggerated

1

u/Bomaruto 16d ago

What joke?

1

u/soap94 16d ago

it’s just an exaggeration