this post was submitted on 14 Aug 2025
295 points (96.2% liked)

Programmer Humor

25730 readers
1229 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Maiq@lemy.lol 6 points 1 day ago (13 children)

Was looking at it and could not figure out why their weren't any semicolon's.

[–] ScintillatingStruthio@programming.dev 13 points 1 day ago (12 children)

Neither Javascript nor Typescript require semicolon, it is entirely a stylistic choice except in very rare circumstances that do not come up in normal code.

[–] Maiq@lemy.lol 4 points 1 day ago (4 children)

That's good to know. Don't know how I didn't know this. Been writing JS since 2000. Always just used them I guess. Ecmascripts look funny to me without them

[–] Lemminary@lemmy.world 3 points 1 day ago

Same here. My brain interprets them as one long run-on sentence and throws a parsing error.

load more comments (3 replies)
load more comments (10 replies)
load more comments (10 replies)