OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 4 months agoparseInt(5)lemmy.mlexternal-linkmessage-square62linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkparseInt(5)lemmy.mlOsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 4 months agomessage-square62linkfedilink
minus-squareheavy@sh.itjust.workslinkfedilinkEnglisharrow-up0·4 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-squarezqwzzle@lemmy.calinkfedilinkEnglisharrow-up0·4 months ago Theoretically, Javascript is an untyped language… Function only handles string arguments correctly. Wat.
minus-squareheavy@sh.itjust.workslinkfedilinkEnglisharrow-up0·4 months agoLol you’ll get no argument from me. It’s not my favorite language.
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up0·4 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-squareheavy@sh.itjust.workslinkfedilinkEnglisharrow-up0·4 months agoDynamic types aren’t static types my man. I think you got some learning to do.
minus-squareheavy@sh.itjust.workslinkfedilinkEnglisharrow-up0·4 months agoLol like facilitate versus effectuate
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.
Function only handles string arguments correctly. Wat.
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