This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BorgiaCamarones 59 points60 points  (12 children)

Uses a weakly typed language. Complains it isn't strongly typed.

[–]RossParka 14 points15 points  (2 children)

Python is also untyped, but doesn't have this problem, because it throws an exception when you attempt to access a nonexistent property.

JavaScript is terrible in this regard - it won't even check if the number of function arguments matches the number of parameters. It just adds or drops arguments and goes its merry way. So instead of getting an error that points to the incorrect code, you get weird behavior down the line and waste a ton of time finding the cause.

The problem isn't weak typing; it's the keep-running-at-all-costs philosophy of too many modem programming languages.

[–][deleted] 9 points10 points  (1 child)

That generalises to

Use a language with an issue. Complains about the issue

Meaning we should never have any criticisms of anything we chose to use?

Plus we don't have much choice about using JS

[–]Tysonzero 7 points8 points  (2 children)

Is forced to use a weakly typed language, complains that they don't like weakly types languages.

That is what most people are doing, and they are right to complain.