this post was submitted on 14 Aug 2025
282 points (96.4% liked)

Programmer Humor

25705 readers
1274 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
[–] Lemminary@lemmy.world 21 points 1 day ago (9 children)

That's TypeScript. I can tell by the pixels defining a type above.

[–] Maiq@lemy.lol 6 points 23 hours ago (8 children)

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

[–] ScintillatingStruthio@programming.dev 11 points 21 hours ago (7 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.

[–] Ephera@lemmy.ml 2 points 20 hours ago

Hmm, a webdev colleague said he'd normally prefer without semicolons, but used them anyways for better compile errors.

load more comments (6 replies)
load more comments (6 replies)
load more comments (6 replies)