this post was submitted on 04 Jun 2025
997 points (98.7% liked)

Programmer Humor

24815 readers
730 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
[–] Jankatarch@lemmy.world 30 points 1 month ago (11 children)

Instead of trying to make it work, javascript could just say "error." Being untyped doesn't mean you can't have error messages.

[–] capybara@lemm.ee 4 points 1 month ago (9 children)

This is fair enough from an idealistic view. In practice, you don't want your entire website to shit itself because of a potentially insignificant error.

[–] random8847@lemmy.world 7 points 1 month ago (1 children)

I'd rather have my website shit itself than have silent difficult to find errors.

[–] capybara@lemm.ee -5 points 1 month ago

Use typescript

load more comments (7 replies)
load more comments (8 replies)