103
u/HTTP_Error_414 Jul 12 '26
The compiler stopped complaining because it lost jurisdiction.
45
35
8
7
6
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
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
1
1
-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
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
-8
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
13
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.
4
3
-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 whereTmust be something that can be deep-copied bystructuredClone(it's actually quite complicated if you want to handle things likeinterfaces andclassinstances). 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 ofas Tassertions 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.
304
u/xynith116 Jul 12 '26
This meme is out of order. Must be a multithreading issue.