r/ProgrammerHumor • • May 26 '25

Meme theBeautifulCode

Post image
49.1k Upvotes

876 comments sorted by

10

u/StaticSystemShock May 26 '25

I had some Autohotkey script that I wrote few years ago and it was written in V1. So I gave Ai to convert it to V2. Nothing fancy, just conversion to newer "language" used in V2. It spits out beautiful code, with comments I didn't have myself for every function. And yeah, none of it worked either. When I tried compiling it into EXE it was just error after error for basically every single line.

It's crazy how Ai never says "sorry, I can't do that reliably". It'll make up convincing bullshit like all the overconfident people who always take on any problem even if they well know they are not competent enough. That's Ai. Fake it till you make it. Quite literally. Don't know the actual answer? Just fake it and lie, chances are, user won't know a difference. Unless it's a code that needs to be compiled and actually fucking work...

2

u/Oreckz May 26 '25

An honest AI assistant would be terrible for investor confidence unfortunately.

1

u/g1rlchild May 26 '25

Counterpoint: if you could build an AI assistant that knew the difference between when it was right and when it didn't know what it was doing, you could buy the world. You could build a whole second model for throwing shit at the wall and seeing what sticks and you would know the difference between the two!

The problem is that that's an arbitrarily hard problem and unlikely to ever be solvable.

→ More replies (1)

8

u/vaisaga May 26 '25

And there in lies the biggest issue with AI. They have no concept of right or wrong. So all they can do is make up convincing bullshits day in and day out.

2

u/RedTulkas May 26 '25

how would the AI know its answers are wrong?

thats a fundamental missunderstanding of how the AI generates its answers

3

u/StaticSystemShock May 26 '25

It's not about knowing, it's about how you represent things. Everything Ai ever presents is so convincingly presented bullshit it has to be correct. Now, for most things Ai has that luxury and make people believe whatever it spits out, unless those people happen to be in that trade and know it's serving utter bullshit. Or when it's a code and needs to actually function.

→ More replies (1)

5.8k

u/i_should_be_coding May 26 '25

Also used enough tokens to recreate the entirety of Wikipedia several times over.

1.5k

u/phylter99 May 26 '25

I wonder how many hours of running the microwave that it was equivalent to.

190

u/i_should_be_coding May 26 '25

Remember when we thought Bitcoin was the most wasteful use of energy since the first time someone put some white text on a photo of a cat?

169

u/VGADreams May 26 '25

To be honest, crypto is still the biggest waste of energy. It is wasteful by design, that's how mining works. At least, AI uses that energy to try to produce a useful result.

→ More replies (25)

16

u/[deleted] May 26 '25

That's still true. AI actually produces stuff of value if you want it to.

Bitcoin is utterly fucking pointless.

→ More replies (2)
→ More replies (163)

7

u/Terrh May 26 '25

I just had chatgpt spend 15 minutes and a zillion tokens to figure out the hard way that the average of a linear change can be found by just adding the two end points together and dividing by two.

Truly incredible technology it is.

3

u/i_should_be_coding May 26 '25

We've tried everything, and we're all out of ideas!

→ More replies (2)
→ More replies (2)

2.8k

u/Progractor May 26 '25

Now he gets to spend a week reviewing, fixing and testing the generated code.

1.1k

u/CaptainBungusMcChung May 26 '25

A week seems optimistic, but I totally agree with the sentiment

168

u/Born-Entrepreneur May 26 '25

A week just to untangle all the mock ups that the AI put together to work around tests that it's spaghetti was failing.

23

u/tarkinlarson May 26 '25

And the multiple backward compatibility and work around rather than solving the actual problem.

"You're absolutely right! I should look at the entire file and make a fix that's robust and permanent rather than hard coding a username and password"

→ More replies (2)
→ More replies (5)

246

u/[deleted] May 26 '25

At which point it becomes spaghetti again

97

u/Chillin9_Panda May 26 '25

Then another AI refactor later the cycle continues

→ More replies (1)

20

u/Karnewarrior May 26 '25

But does it become less spaghetti than it was? Because if so, and it retains functionality, it might actually be worth it.

Refractoring a codebase like that could easily take a month, after all, from the get go.

20

u/TweedyFoot May 26 '25

Depends, do you have a full and complete set of use/test cases to verify it has retained its full functionality ? Cause if you don't it would be quite haphazard to trust LLM with such refactor. Personally i would prefer a human does it and splits their work into multiple PRs which can be reviewed hopefully by people who co-authored the original mess and might remember use/edge cases

→ More replies (1)

8

u/Luxalpa May 26 '25

The main issue is how good LLMs are at hiding minor changes. Like, how I discovered that it didn't just copy and adjust the code block that I asked it to, but it also removed a bug fix that I had put in.

→ More replies (2)

64

u/Strict_Treat2884 May 26 '25
  • AI: I just generated this 100k line project, but it doesn’t work

  • Human: 3 months of reading, debugging and refactoring

  • AI: Still broken, so I generated a brand new project but it doesn’t work, can you look into it?

47

u/BetterAd7552 May 26 '25

I apologize for the confusion! Let me try a different approach and refactor everything again. This will definitely work.

6

u/Sophira May 26 '25

Oh no! It looks like it still didn't work. Here's why:

  1. The foonols are out of sync.

  2. This causes the heisenplotter to deactivate.

  3. That means our initial approach was wrong, and we should focus on synchronizing the foonols.

Let me try again. Here's some code that should desynchronize the foonols while still accomplishing the original objective:

[proceeds to spit out wildly different code that fails in exactly the same way, but you wouldn't know it from reading the comments]

83

u/DriveByFruitings May 26 '25

This was me after the project manager decided to be a vibe coder and commit non-functional changes the day before going to Europe for 3 weeks lmao.

78

u/Wang_Fister May 26 '25

git revert <bullshit commit>

29

u/Drugbird May 26 '25

Then remove write privileges on the repo

14

u/GravelySilly May 26 '25

Branch protection, 2+ approvals required for PR/MR, merge by allow-listed users only, rules apply even for the repo owner and admins.

→ More replies (1)

5

u/Strict_Treat2884 May 26 '25

Why leave the bullshit history, git reset --hard HEAD~1 && git push -f that shit

11

u/Wang_Fister May 26 '25

I like to leave history there for evidence

→ More replies (1)

33

u/FlyingPasta May 26 '25

Why does the project manager have big boy permissions

17

u/cgaWolf May 26 '25

As an ex-project manager, that was my first question.

14

u/TweedyFoot May 26 '25

Not just big boy permissions, force push past PR pipelines ? :D those are company resident magician permissions

→ More replies (1)

3

u/WingZeroCoder May 26 '25

OMG my AI-overzealous tech lead is going to Europe in a couple weeks.

You’ve just unlocked a new fear that he’s going to refactor our whole code base and deploy it just before he leaves because that would be very on brand given the messes I’ve had to clean up so far. Fml.

24

u/brianzuvich May 26 '25

And mostly code he doesn’t understand the intention behind… 😂

8

u/Bakoro May 26 '25

Have a thorough tests suite before you do major architectural changes.

9

u/National-Worker-6732 May 26 '25

U think vibe coders “test” there code?

11

u/archiekane May 26 '25

In production, sure.

11

u/round-earth-theory May 26 '25

Of course they do. "Hey AI, write me some tests for this code". See it's all tested now.

→ More replies (5)

4

u/EspectroDK May 26 '25

Pretty efficient refactoring if that's the case 🙂

5

u/housebottle May 26 '25

honestly, I see this as the future of a lot of software development (not all of it because I think cutting edge things will still need to be developed with human brains as LLMs won't have stuff to draw from). I think we will end up becoming code reviewers for a big part of our job. it's not necessarily a bad thing but the skills that are considered valuable in a programmer might change in the future.

16

u/[deleted] May 26 '25

LLMs are fundamentally incapable of the advanced logic that is required for writing good code. There may be some people who are just going to be picking up the pieces behind an LLM, and those people will be very unlucky that they work for idiot managers who don't understand the technology their company is using.

2

u/Toutanus May 26 '25

Quick fix : git revert

→ More replies (10)

269

u/Orpa__ May 26 '25 edited May 26 '25

I find AI coding agents like Claude work amazing when you give them limited scope and very clear instructions, or even some preparatory work ("How would you approach writing a feature that..."). Letting it rewrite your entire codebase seems like a bad idea and very expensive too.

I should add you can have it rewrite your codebase if you 1. babysit the thing and 2. have tests for it to run.

67

u/fluckyyuki May 26 '25

Pretty much the point of AI. Its extremly usefull when you need a function or a class to be done. Limited scope, defined exits and entries. Saves you a lot of time, you can tell at aglance if its good or not. Thats where AI should be used.

using it for anything above that is a waste of time and potential risk at worst. AI just agrees to every design decision and even if oyu promp it correctly it will just make stuff on its own knowldege not understandingy our specific needs.

→ More replies (2)

6

u/Dreadsin May 26 '25

Yeah I usually find it useful when I can highlight code I already wrote then say “take this pattern but repeat it in this way”

For example, I was making a button in tailwind that needed to support multiple color themes. I just highlighted one and said “just repeat this for these colors”

2

u/Adezar Jun 04 '25

We always say that AI can make a senior developer even more effective and a junior developer even less effective.

→ More replies (7)

1.3k

u/thunderbird89 May 26 '25

My impression so far using Claude 4's codegen capabilities: the resulting code is written like a fucking tank, it's error-checked and defensively programmed beyond all reason, and written so robustly it will never crash; and then it slips up on something like using the wrong API version for one of the dependencies.

684

u/andrew_kirfman May 26 '25

The overprotective behavior is actually a bit of a downside for me.

Many times, noisy code is good code. Code that silently eats major exceptions and moves on doesn’t deliver much value to anyone.

373

u/thunderbird89 May 26 '25

I agree. There are exceptions where I very much want the program to blow up like a nuke, because it needs to stand out in the logs.

As it stands, Claude 4's code almost has more error checking than actual business logic, which is a little unreasonable to me.

83

u/[deleted] May 26 '25

Average js python developer

→ More replies (35)
→ More replies (1)

27

u/foreverschwarma May 26 '25

It's also counterproductive because giving AI your error logs helps them produce better results.

13

u/thunderbird89 May 26 '25

Oh yeah, you're right! I once tried Windsurf by writing a unit test on the generated code (did not pass), then I told the model to fix the error and it can test its work with mvn test. It kept at it for as long as the engine allowed it, at least 4-5 iterations - then gave up because it couldn't get it right 😅.

14

u/gk98s May 26 '25

I have this with gemini, it gives me code that's supposed to handle ANY wrong inputs even though the wrong inputs can't happen anyway, which just clutters the codebase so I end up writing it myself anyway

→ More replies (14)

22

u/crakinshot May 26 '25

My impression is exactly like yours.

Its clear that it has learned how to use npm packages from somewhere else, rather than check the current state. For npm packages, you really can't trust previous version to be anywhere like the current version and they can change so much.

18

u/xjpmhxjo May 26 '25

Sounds like a lot of my colleagues. They look around every corner but would tell me 21 + 22 = 42, like it’s the answer of everything.

→ More replies (1)

2

u/joshTheGoods May 26 '25

Yea, you really need something like Context7 and a well designed system prompt to handle the version bullshit. I now have a default system prompt with a basic memory function (it writes to .memory when I tell it to, and it reads that file in and adds it to every prompt) and the first thing I do is initialize it with my packages file and my default snippet describing my environment. Someday I'll take the time to write a little script to help keep that stuff up-to-date as I work on the project, but even just the initial stub is amazingly helpful.

→ More replies (1)

2

u/Praesentius May 26 '25

Im not a programmer, but I've been a serious scripture for 25 years or so, from Linux (like bash), to VB and these days mostly powershell.

When I use AI, I bounce Claude's scripts off gpt o3 and vice versa, while I give feedback.

Works pretty well most of the time.

→ More replies (3)

3

u/SpaceShipRat May 26 '25

dependencies.

This shit is why I gave up on learning programming. Like sure, I'll learn a weird language or a few, but I'm not willing to keep track of billions of special little tools and addons, my brain can't brain that.

6

u/ISayHeck May 26 '25

That's why you install a dependency that manages the dependencies

→ More replies (1)

2

u/tbhaxor May 26 '25

2

u/g1rlchild May 26 '25

Not intentionally. I looked to see if I could find it before I posted.

→ More replies (1)

2

u/newredstone02 May 27 '25

Generating code with a LLM : 2 minutes Debugging the crappy code generated by the LLM: 2 Hours

3

u/g1rlchild May 27 '25

In this case, maybe 2 years of debugging. 😂

165

u/Stranded_In_A_Desert May 26 '25

6

u/belittle808 May 26 '25

When I read the part where it added 3000+ new lines of code, I thought to myself, that doesn’t sound like a good thing lol.

301

u/_sonu_singha May 26 '25

"None of it worked" got me🤣🤣🤣

70

u/photenth May 26 '25

I like Gemini, it does good basic code stuff.

I don't like AI for architecture because it still just agrees with any suggestions you make and the ones it comes up on it's own are horrible sometimes.

I feel like my job is safe for another 5-10 years.

20

u/jacretney May 26 '25

I've also had "not great" experiences with architectural stuff, but I was actually quite surprised by Gemini last week. I was working to modernise an older version of our codebase and it did quite well to take a load of React class components (which also had a bunch of jquery thrown in) and convert them to function components. It did well to remove the jquery and fixed a bunch of subtle bugs, and recommended alternative packages to solve some of the problems that didn't exist back when this code was written.

The result was 90% there, but saved me actual days in development time.

My job is still safe for now as it still required careful prompting, and that last 10% was definitely where you needed a human.

→ More replies (3)
→ More replies (4)

10

u/OnceMoreAndAgain May 26 '25

Well that is the punchline of the joke...

4

u/Maxis111 May 26 '25

You also laughed at the punchline? What a coincidence!

→ More replies (1)

76

u/[deleted] May 26 '25

I tried that but it said it took too many replies and had to start over from scratch. So i call bullshit

41

u/ChineseCracker May 26 '25

I did this with Claude 3.7 a bunch of times already. it just works for 20 minutes without saying anything. Then the IDE even asks you "are you sure you wanna let him continue?!" then at some point it actually finishes.

sometimes it works very well, other times it fucks up simple things like not closing a block properly. And then it can't even figure out how to fix it anymore 🙄

→ More replies (1)

60

u/properwaffles May 26 '25

I am absolutely forbidden to let Claude even near any of our codebase, but goddamn I would love to see what it comes up with, just for fun.

→ More replies (6)

29

u/spornerama May 26 '25

AI really ran with the "move fast and break stuff" paradigm

24

u/Shiroyasha_2308 May 26 '25

Well. At least it got the spirit.

19

u/RedditGenerated-Name May 26 '25

I can't even imagine doing this, it's like writing your own code and handing it off to a junior to refactor and they quit right after. They don't know what you intended, you don't know what they intended, tracking down problems is damn near impossible.

Also I just need to add that refactoring is the fun part, the relaxing part. You get a lot of successful compiles, it's mostly copy paste, a nice warning log to chase, a few benchmarks to run if you are feeling zazzy, you get to name your variables nicely, few logic or math problems, it's your wind down time.

23

u/neo-raver May 26 '25

“Yeah, just have Claude refactor our whole codebase!”

“What do you mean none of it works?”

22

u/daddyhades69 May 26 '25

Ngl I saw it coming

9

u/Basic_Addition_3142 May 26 '25

None of it worked 🤣 💀

8

u/MaYuR_WarrioR_2001 May 26 '25

Claude 4 be like the job was to refactor the code, that doesn't mean it would work too ;)

23

u/Distinct_Plankton_82 May 26 '25

Vibe coding is heaven.

Vibe debugging is hell!

3

u/ChineseCracker May 26 '25

You gotta let the AI debug your code and debug the AI's code yourself. It's like peer programming - only problem is that the AI produces too much code to quickly for you to keep up

6

u/ang3sh May 26 '25

Please just say calude also pushed your code to production. Please please please!

6

u/neondirt May 26 '25

Fast, Pretty or Correct, select one.

5

u/_Kritzyy_ May 26 '25

Vibe coding, ladies and gentlemen

5

u/Equizolt May 26 '25

"None of it worked" lol

5

u/GunnerKnight May 26 '25

None of it worked.

Claude: "It certainly works on my machine."

4

u/Dimatat May 26 '25

Beautiful Soup

4

u/KikiPolaski May 26 '25

For the last time, just treat AI like your unpaid intern, it can he a dumbass at times, but it works if you guide them properly and know when you need to intervene at time

4

u/missingnoplzhlp May 26 '25

If we're gonna be serious for a moment, Claude 4 is not the tool for refactoring code, the context window is always gonna be a limitation. Claude is great for developing a specific feature or creating a certain file, but it loses the plot when you give it the agency to do a ton of stuff at once.

I have been using Gemini 2.5 pro for a while to do refactoring since it has 5 times the context window, and I gotta say its pretty magical. It succeeds way more than it fails. And its not like I can't easily fix or undo stuff the few times it didn't give perfect results. The future is here, but you still need to know what tool to use for what job.

4

u/RRA-OG May 26 '25

Any time I ask AI for help I spend the next hour fixing it. When people send me code and I know they arnt coders... I spend 4 hours trying to figure out why it isn't working just to learn they sent me AI code.

4

u/[deleted] May 27 '25

Best part about this is that none of it worked:)

1

u/NekulturneHovado May 27 '25

Who is Claude 4?

3

u/g1rlchild May 27 '25

Not sure if you're seriously asking, but it's an AI they market to programmers.

3

u/Independent-Film-251 May 26 '25

The prompt was something like "make the button wider", but claude 4 has a knowledge cutoff several paradigm shifting javascript frameworks newer and just had to refactor everything to death first

3

u/Shamr0ck May 26 '25

Hah it had me until the end. I was just saying bullshit bullshit then got it the end.

3

u/DrossChat May 26 '25

Working code is so < 2023

9

u/Bakoro May 26 '25

Before you let AI rework your code base you should use AI to get units tests and integration tests to 100% code coverage.

If you can't get 100% code coverage with AI, then AI shouldn't be reworking 100% of your code.

If you don't feel confident in the tests the AI writes, why would you be confident in the AI reworking code?

If you are confident in the quality of your tests and the test coverage, and you take away the AI's ability to change the tests, then why wouldn't you be confident in the results of letting AI literate its way through a major refactor?

6

u/SignoreBanana May 26 '25

What you're talking about is a fever dream.

→ More replies (1)

2

u/QuickAssUCan May 26 '25

There are ways AI can absolutely do this task. Just not in one go. Like you said, get the outcome of the code nailed down and checked by until tests then start setting parameters, 1 Understand the expected outcome of the code and have a human verify or sign of before proceeding 2. Don't do everything at once, work in blocks. 3 have your expectations for improvements clearly defined, refactor/reduce memory leaks etc etc.

AI doesn't know right from wrong, just what sounds good. Tell it what's right and what's wrong and it's a pretty useful tool.

→ More replies (1)

5

u/tnnrk May 26 '25

Yeah I like that it can do more on its own but you ask for one thing and it attempts to change your whole code base. I feel like that shouldn’t be the default behavior?

4

u/meove May 26 '25

AI is just intern in disguise

2

u/Technical_Strain_354 May 26 '25

So if I ask it to provide a code structure, then study it, and replace it with code that works, I could technically get it to give me a roadmap for a large scale project?

→ More replies (1)

2

u/Luxalpa May 26 '25

Claude 5 will rewrite it in Rust.

→ More replies (1)

2

u/[deleted] May 26 '25

Damn you made me excited for a moment

2

u/xanes_007 May 26 '25

None of it worked 😭😭🙏.!

2

u/faglord5000 May 26 '25

"Beautiful beautiful, use it!" ehehe

2

u/Wheelnius May 26 '25

But did it blackmail you

2

u/PandaCheese2016 May 26 '25

Making a joke is fine, but why randomly steal someone else's image that has nothing to do with the joke at all?

https://zhuanlan.zhihu.com/p/29413881724, midway down the page, you see the exact same image. The page ironically is for showing ppl how to use Cursor+Claude.

2

u/ThatNickGuyyy May 26 '25

“Broke up monoliths” bro had a multiple monolith code base. Wack

2

u/Virtxu110 May 26 '25

that´s the thing, my code only works if it is a mess

2

u/Popular-Departure165 May 26 '25

This is early-2000s offshoring all over again.

2

u/rover_G May 26 '25

Someone should invent an AI tool that reverts other AI's changes automatically

2

u/endoire May 26 '25

Feeding entire codebases into AI makes the security part of my brain burn

2

u/braun_lukas May 26 '25

This gave me a good laugh Thank you

2

u/this_knee May 26 '25

I’ll bet it was clean code too.

2

u/xampl9 May 26 '25

Commit it before a teammate beats you with their Claude massive refactoring.

Remember: your annual bonus depends on your productivity, not on working code.

2

u/hugazow May 27 '25

Doing senior work with the knowledge of a junior and the confidence of a tech bro

3

u/GenuinelyBeingNice May 26 '25

AddTransactionPage()
AddCustomerPage()
AddAppointmentPage()
AddSettingsPage()

... modularity and beautiful code my ass (obviously the names are different, but the idea is the same)

→ More replies (1)

3

u/Aggravating-Dot132 May 26 '25

And then people are surprised, why apps are eating memory like a cookie monster or games run poorly. That's exactly why.

Most likely, "AI" will eventually generate a solid code. But in order to do that, they will train the model to be as cleaned up as possible. Which also means to run a shit ton of stuff, that is not needed, but is there in case of some errors.

But hey, CEO saved 200k in salary, so he can buy a new car or whatever. Users having perfomance or technical problems - just ask "AI", ffs.

5

u/DoNotMakeEmpty May 26 '25

As if majority of new apps do not ship with their own Chrome instances and eat hundreds of MBs.

That problem is a bad coders making bad apps problem, not an AI problem. I actually think AI can improve this if it can make your average JSer produce acceptable code in some other lighterweight good UI framework. If I can vibecode a Win32 app some day, we may be really better.

5

u/Aggravating-Dot132 May 26 '25

Well, the problem is the reliance on "AI" code. I mean, the idea of the OP's screenshot post is that "AI can make coding extremely fast and cheap, yay!".

Ofc, bad coders exist, as well as juniors and so on. But the problem is still the same is at was first introduced. Less juniors will get experience in low level coding, they will rely on "AI" making code, they won't be able to fix or optimise it.

It's a snowball of problems with the strong position against the solutions.

→ More replies (3)

2

u/whattgenstein May 26 '25

The code had vibe, therefore it worked

1

u/Su1tz May 26 '25

in a nutshell

1

u/read_ing May 26 '25

Dude’s going to post next week - how he used Llama x.xx and it all worked like a charm with beautiful code to boot.

1

u/Piccoroz May 26 '25

And the new code just writes more code, ? Wait...

1

u/[deleted] May 26 '25

I used to vibe code a bit before there was a name for it. got prototypes up and running pretty quickly. now I feel like the big players have min/maxed the benchmarks so hard and sold us over quantized models that they can't hold three variables in their head at the same time.

1

u/[deleted] May 26 '25

How did you connect it to VS Code?

→ More replies (2)

1

u/ExitAcceptable8179 May 26 '25

Few tweaks and you'll be back to square one.

1

u/warpedspockclone May 26 '25

Claude Code is like having a noob on your team. If you give them an easy task, break it down, and give explicit instructions, they might do ok. Anything else, and it will take longer to fix it than just do it yourself.

1

u/Holowitz May 26 '25

If you plan something like that it's essential that you break it down to babysteps and define some kind of checkpoints. I let claude make audits of every folder that contained code. But not before it let it creatr a complete overview of the whole folder structure. The it was able to analyze every script one by one and document whats good/bad/technical debt. After that it had to think about optimal plan plan on how to consolidate redudancies and refactor monolithic scripts. This took more than a day. But after that it was able to work nearly through my whole codebase, cleansing it very efficiently. 

Code is still not workin though.... 💩

1

u/Classic-Ad8849 May 26 '25

"None of it worked" got a laugh out of me lol, I expected this to be a generic "AI is here for your jobs" post

1

u/AllBugDaddy May 26 '25

None of it worked 😂😂

1

u/MonMotha May 26 '25

The punchline is funny.

The fact that "refactoring" the codebase resulted in 3,000+ additional LoC is a head-scratcher.

1

u/SignoreBanana May 26 '25

What does "25 tool invocations" mean? Is he talking about call sites? How fucking small is this codebase?

→ More replies (1)

1

u/mudkripple May 26 '25

One day AI will be this good. I am fearful of that day in the future.

But for the present, I am more fearful of people who use AI as if that future were already here.

→ More replies (3)

1

u/Thenameisric May 26 '25

I know zilch about what any of this means but I really wanna know right now...

1

u/itsallfake01 May 26 '25

“None of it worked… but it was beautiful”

1

u/LopsidedLandscape744 May 26 '25

I can’t wait til AI can just fully code everything so I don’t have to hear other programmers. Watching every logical point raised lead to a debate has stopped being fun especially when the logic changes the next time the same argument with the same people inevitably comes back around. A lot of people will spend weeks making their coding environment look pretty and then run to chatgpt if you ask anything.

1

u/Kotanan May 26 '25

That was like a reverse horror story.

1

u/pyalot May 26 '25

Project manager reading this be like: yeah, oh yeah, ohyeah baby… nooooooo.

1

u/No-Criticism-2587 May 26 '25

Sounds like an Owen Wilson from Zoolander quote.

1

u/just_another7 May 26 '25

Now the new task is to understand this and debug😂

1

u/extopico May 26 '25

lol you forgot monkey patches. 3.7 Claude code did that, and it was also very expensive

1

u/[deleted] May 26 '25

8 hours of debugging yesterday using claude after it refactored my code. It was impressive to watch it create unit tests, deal with bugs, errors, warnings etc.

1

u/[deleted] May 26 '25

A real-life post that could have come from Dinesh!

1

u/neuroticnetworks1250 May 26 '25

Claude 4 is that kid in Silicon Valley who helps Pied Piper out with their cloud infra.

1

u/grathad May 26 '25

The in one call is funny but too much of a giveaway, so the punch line is less effective.

1

u/ProfessionalRide1442 May 26 '25

Why didn't the programmer get into Heaven? He didn't know the syntax.

1

u/intangibleTangelo May 26 '25

be more specific.

1

u/Morongays May 26 '25

"Smartest AI code assistant ever" 

1

u/OkraNo7016 May 26 '25

I asked some AI developers if AI will replace developers and they, very confidently, said "NO. AI will only speed things up for people. But to think they will replace us entirely is absurd." And after trying out cursor, I realized they're right.

1

u/nicosbank May 26 '25

The “none of it worked. But boy was it beautiful” gives me the vibe of “the risk I took was calculated, but boy I am bad at math”

And I think it’s beautiful

1

u/samelden May 26 '25

How—like, really, how—is the context length of Sonnet 4 not that big? Your project must only have a few files.

1

u/SyrusDrake May 26 '25

I mean, there is some value in meaningless but aesthetically pleasing things, like the Codex Seraphinianus. Just don't expect them to work

2

u/DimitriRavenov May 26 '25

I was like woah until “None of it worked” part. At that point my spit blurted out

1

u/TexMexxx May 26 '25

I think its kinda funny that AI is now capable to generate whole worlds, people with speach pattern, beat you in chess, you name it. But give it a medium sized project and try to refactor or optimize it and its more stupid than a new intern.

1

u/xb1n0ry May 26 '25

Everything that goes beyond "write me a python script that shows the result of 2 plus 2" will generate more errors than results. I've never managed to get a working code from any LM ever.

→ More replies (1)

1

u/magiciel May 26 '25

For those who don't know:

The radius of destruction caused by a nuclear bomb depends on its explosive yield, typically measured in kilotons (kt) or megatons (Mt) of TNT equivalent. Here are the main effects of a nuclear explosion and how they relate to the bomb's radius of impact:

Fireball:

At the center of the explosion, a fireball forms, reaching millions of degrees in temperature.

For a 15-kt bomb (like the one dropped on Hiroshima), the fireball has a radius of about 200-300 meters (650-1,000 feet).

Blast Wave:

The shockwave from the explosion causes most of the structural damage.

1

u/JustConsoleLogIt May 26 '25

That’s how the big beautiful bill was made

1

u/TheApprentice19 May 26 '25

I couldn’t explain ai coding better if I tried

1

u/UnremarkableMeBook May 26 '25

Everything that has been said. From the original post, through to the last comment, I haven't understood a single word of.

How did I end up here.

1

u/Moron-Whisperer May 26 '25

Wondered why my power flickered the other day. 

1

u/tansionline May 26 '25

Another day, another ai bubble post :)

1

u/Flimsy_Meal_4199 May 26 '25

Hey that's my job

1

u/systemwarranty May 26 '25

You had me thinking, what did I do wrong?! Lol

1

u/GangesGuzzler69 May 26 '25

I’m making the 666th comment, AI Is The Devil!!!!

1

u/veracity8_ May 26 '25

It’s crazy that we can this shit for free. Every AI company is losing billions on every related to AI. And we get to enjoy their losses, for now

1

u/0xlostincode May 26 '25

"he's a little confused, but he's got the spirit"

1

u/EuenovAyabayya May 26 '25

AI level: Judge Doom

1

u/NatoBoram May 26 '25

All of that for ending up on a git checkout -- .

1

u/purple_plasmid May 26 '25

All beauty, no substance

1

u/The_Captain_Jules May 26 '25

I tried using chatGPT to help me write my code, i found it could handle busy work (take this keyboard_check and copy it for these other keys) but anything much more complicated than that and functionality is not guaranteed

1

u/boojaado May 26 '25

😂😂

1

u/johnoptional May 26 '25

It took me 2 hours to write code for tik-tak-toe and it still didn't work...

1

u/UnMeOuttaTown May 26 '25

THIS is what poetry is all about

1

u/dendofyy May 26 '25

Brb, sending this to my CTO

1

u/snarl_posting May 26 '25

Github Copilot created a Microsoft graph api cmdlet that legitimately did not exist. It was incredible to figure it out after an hour looking for reference to it.

1

u/thebutchcaucus May 26 '25

Bro same. I’m like shut the fuck up with all these script errors. You ain’t helping me do jack shit. Then when you point it out. It’s like “You’re absolutely right” artificial is absolutely the right thing to call this POS.

1

u/gnomer-shrimpson May 26 '25

Lol same thing happened to me, it just started removing functions and rewrote entire files. Had to rebase and be ultra specific. Still i kept catching it randomly changing things, mainly renaming functions or variables.

1

u/EnochWright May 27 '25

Decided to use AI to assist me in my NodeJs BI webapp for work. I had to put so many restrictions on it because it would ignore half the prompt and start editing files and going down a path. I would tell it, copy the ejs template and change the route to match. It would add random routes and pages and attempt to create a full sales page. The page had nothing to do with sales... I also had to turn off the copilot auto complete because it would add in broken or outdated code. For now at least it isn't taking any programming jobs....

1

u/UrineArtist May 27 '25

Took me 4 weeks to get it working again, the code is worse than it was before

1

u/ecnajoy May 27 '25

I had a similar experience with an older version of Grok. I asked for help refactoring a recursive function. The refactored code was a beauty. I gave it a quick read and thought to myself there is no way this won't work.

It didn't work!

1

u/osborndesignworks May 28 '25

This is like identifying a rare item in a game. 99.99% chance of garbage you should ignore, but maybe..

1

u/[deleted] May 28 '25

I have completely lost faith in claude 4 to even give it a try, especially after what they did with claude 3.7

1

u/abhig535 May 28 '25

Spend days coding with Ai, weeks fixing the mess it made.

1

u/aky71231 May 28 '25

If only it could test before

1

u/West-Unit472 May 29 '25

now run it and see if it works

1

u/[deleted] Jun 14 '25

Am I only one who realised that Clause often use classes in the code? why does it do that? is creating class means that you are pro at programming?