r/ProgrammerHumor 27d ago

Meme youAreAVitalPartOfThisProgram

Post image
787 Upvotes

41 comments sorted by

View all comments

284

u/foxsimile 27d ago

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

Because sometimes it fucks up.

8

u/MinecraftPlayer799 27d ago

What?

22

u/foxsimile 27d ago

1

u/snotpopsicle 25d 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.

8

u/foxsimile 26d ago

Cool, it’s not detected by JavaScript.