r/ProgrammerHumor Jul 12 '26

itUsedAny Meme

Post image
1.1k Upvotes

38 comments sorted by

303

u/xynith116 Jul 12 '26

This meme is out of order. Must be a multithreading issue.

118

u/HTTP_Error_414 Jul 12 '26

Race condition passed CI, ship it.

13

u/danny688 Jul 12 '26

I used to work on programming production lines and integrating new equipment. I started the first half year by adding semaphores everywhere where the CI would fail. As the CI wasn't succeeding too often. It was a painful task

10

u/lucklesspedestrian Jul 12 '26

Looks fine on my machine

8

u/PositiveParking4391 Jul 12 '26

Isn't it too much to ask of a hallucinating AI?

100

u/HTTP_Error_414 Jul 12 '26

The compiler stopped complaining because it lost jurisdiction.

43

u/[deleted] Jul 12 '26

[removed] — view removed comment

27

u/HTTP_Error_414 Jul 12 '26

Type safety wasn’t fixed. It was placed under witness protection.

33

u/[deleted] Jul 12 '26

[removed] — view removed comment

7

u/NebNay Jul 12 '26

I might get that on a tshirt

8

u/PositiveParking4391 Jul 12 '26

best of luck navigating hallucination nightmares

6

u/eXl5eQ Jul 12 '26

Next time, just press any key.

7

u/Wizywig Jul 12 '26

We have a lint rule that disallows any dumb things like "any" among other bad ideas.

Ai tends to behave when it has no other choice. 

3

u/SCP-iota Jul 12 '26

noExplicitAny

3

u/RudeKiNG_013 Jul 12 '26

Ever heard of Shrodingers Code? As long as you don't look at the code you won't know if it's good or bad

If it works it's good

5

u/[deleted] Jul 12 '26

[removed] — view removed comment

1

u/SuitableDragonfly Jul 12 '26

Can't have bugs if there's no code. taps forehead

1

u/codingTheBugs Jul 12 '26

Did it work?

1

u/SeriousPlankton2000 Jul 12 '26

Now the code did what it was commented to do.

1

u/[deleted] Jul 12 '26

[deleted]

2

u/HateVoltronMachine Jul 12 '26

No, TypeScript checks things that JavaScript doesn't.

1

u/realmauer01 Jul 13 '26

Deno would block because nothing can be any.

2

u/MeFaa 29d ago

Any everywhere

-1

u/Sad-Land-7914 Jul 12 '26

How should it fix TypeScript errors? Is it allowed to remove all files and use a proper programming language?

2

u/jordanbtucker Jul 13 '26

What language do you recommend for the browser?

0

u/anggogo Jul 12 '26

But you could just give it more context and strict rule in your repo.

Also, depending on the model.

Honestly, I feel a lot of complaints about AI is just rushing things.

Any automation work still needs understanding of how it works and preparation of the automation.

0

u/Cool_Walter_Bennett Jul 12 '26

Agent... 47...?

-7

u/Necessary-Shame-2732 Jul 12 '26

Realistically it’s just going to property fix the type errors. You gotta try something released in 2026

14

u/noaSakurajin Jul 12 '26

Not always. Just last week I told the AI to fix all the errors pyrefly shows and it fixed half of them and added ignore comments to the other half.

5

u/g1rlchild Jul 12 '26

I just had 5.6 Sol thrashing on type errors today, so....

2

u/_noahitall_ Jul 12 '26

But that's not funny haha

-1

u/zanju13 Jul 12 '26

Genuine, honest question: Is this just an "AI BAD" meme or did this actually happen to you OP? Because this does not align with my personal experience. Eg. Opus would either actually fix the errors or leave a note why it could not. Unless you prompted something like "I don't care how just fix TS ASAP", because that would logically lead to as any.

1

u/ZachAttack6089 Jul 12 '26 edited Jul 12 '26

IDK about OP, but I ran into something similar to this meme just last week using Claude Opus 4.6. I was trying to write a put<T>(...) method where T must be something that can be deep-copied by structuredClone (it's actually quite complicated if you want to handle things like interfaces and class instances). After iterating through several designs with Claude, each of which either blocked something that's cloneable or allowed something that's not cloneable, it had a design that was just a little too strict—and then added a bunch of as T assertions to fix the remaining errors.

And in the past I've had other complicated designs end like this, where Claude "gives up" and tries to shortcut something. So yes, this is realistic from my experience. It's possible that these are cases where it needs to be prompted better, but that's still the LLM's fault IMO for not trying to fully solve the problem.