@[email protected] to Programmer [email protected] • 2 months agoparseInt(5)lemmy.mlimagemessage-square63fedilinkarrow-up1478arrow-down16
arrow-up1472arrow-down1imageparseInt(5)lemmy.ml@[email protected] to Programmer [email protected] • 2 months agomessage-square63fedilink
minus-square@[email protected]linkfedilinkEnglish-3•2 months agoTheoretically, 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.
minus-square@[email protected]linkfedilinkEnglish4•2 months agoLol you’ll get no argument from me. It’s not my favorite language.
minus-square@[email protected]linkfedilinkEnglish5•2 months agoJavaScript 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.
minus-square@[email protected]linkfedilinkEnglish-2•2 months agoDynamic types aren’t static types my man. I think you got some learning to do.
minus-square@[email protected]linkfedilinkEnglish-1•2 months ago Theoretically, Javascript is an untyped language… Function only handles string arguments correctly. Wat.
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.
Maybe the design is bad, then.
Lol you’ll get no argument from me. It’s not my favorite language.
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.
Dynamic types aren’t static types my man. I think you got some learning to do.
You did say untyped though.
Lol like facilitate versus effectuate
Function only handles string arguments correctly. Wat.