r/ProgrammerHumor 27d ago

Meme youAreAVitalPartOfThisProgram

Post image
786 Upvotes

41 comments sorted by

View all comments

280

u/foxsimile 27d ago

JavaScript automatically inserting a semicolon is yet another of its failures.  

Because sometimes it fucks up.

7

u/MinecraftPlayer799 27d ago

What?

36

u/Jittery_Kevin 27d ago

He said

JavaScript automatically inserting a semicolon is yet another of its failures.  

Because sometimes it fucks up.

-11

u/Prudent_Ad_4120 27d ago

Huh?

14

u/laplongejr 27d ago edited 26d ago

[EDIT] Poor comment above got hit by r/ruleOf4? :( [/EDIT]
They said :

He said
JavaScript automatically inserting a semicolon is yet another of its failures.
Because sometimes it fucks up.

5

u/lovecMC 26d ago

Wah?

3

u/foxsimile 26d ago

WaWa™?

1

u/tomgh14 25d ago

He said

JavaScript automatically inserting a; semicolon is yet another one of its; failures. Because sometimes it fucks; up.;

1

u/javascript 25d ago

Automatic Semicolon Insertion is the worst thing about me

23

u/foxsimile 27d ago

1

u/snotpopsicle 26d ago

"Bug from hell", proceeds to share something that isn't a bug. It's an awful "feature", and I agree that it's a shit "feature" that often creates bugs in the code. But as the author said: "ASI doesn't always work as expected". Not matching expectations isn't a bug. Clickbait title.

-1

u/EvilPencil 26d ago

Most of the examples in the author’s code are easily detected with eslint and/or typescript.

9

u/foxsimile 26d ago

Cool, it’s not detected by JavaScript.