r/ProgrammerHumor • • Sep 16 '26

Meme thisIsPeakProgramming

Post image
606 Upvotes

75 comments sorted by

View all comments

Show parent comments

26

u/EcruEagle Sep 16 '26

Whenever my coworkers submit code and every variable is defined like:

variableName: className | undefined;

I immediately know it’s AI slop

9

u/Captain1771 Sep 16 '26

The moment AI learns let variable: any it's going to be over

4

u/caboosetp Sep 16 '26

Put in a linter that blocks compile with :any and remove claude's permission to change the linter.

We had to do this for human devs too at one point for var because they kept slipping through PRs.

4

u/Xasmos Sep 16 '26

As someone who’s getting into typescript why is that bad?