this post was submitted on 23 Jun 2024
735 points (96.5% liked)

Programmer Humor

19564 readers
1523 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 138 points 4 months ago (12 children)

On the other hand, I don't think you should add those ever

[–] [email protected] 52 points 4 months ago (7 children)

Sure. But in a sane language doing something totally nonsensical like that is an error, and in a statically typed language it’s a compiler error. It doesn’t just silently do weird shit.

[–] [email protected] 4 points 4 months ago* (last edited 4 months ago) (1 children)

a sane language

JavaScript

Pick one.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

I thought it was clear I was saying JavaScript is not a sane language for this very reason

load more comments (5 replies)
load more comments (9 replies)