this post was submitted on 05 May 2025
412 points (98.8% liked)

Programmer Humor

23030 readers
1722 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
[–] [email protected] -3 points 17 hours ago (3 children)

Theoretically, Javascript is an untyped language, so there aren't supposed to really be static types. Giving type errors in this situation would be against design.

[–] [email protected] 5 points 13 hours ago (1 children)

JavaScript has types and it does have type errors, for instance

> null.foo
Uncaught TypeError: null has no properties

Please stop spouting nonsense on issues you know nothing about.

[–] [email protected] -3 points 13 hours ago (1 children)

Dynamic types aren't static types my man. I think you got some learning to do.

[–] [email protected] 3 points 4 hours ago (1 children)
[–] [email protected] 1 points 2 hours ago

Lol like facilitate versus effectuate

[–] [email protected] -2 points 14 hours ago

Theoretically, Javascript is an untyped language…

Function only handles string arguments correctly. Wat.

[–] [email protected] 26 points 16 hours ago (1 children)

Maybe the design is bad, then.

[–] [email protected] 5 points 16 hours ago

Lol you'll get no argument from me. It's not my favorite language.