Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agoJavaScriptsh.itjust.worksexternal-linkmessage-square14linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkJavaScriptsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years agomessage-square14linkfedilink
minus-squaremorgunkorn@discuss.tchncs.delinkfedilinkarrow-up0·2 years agoOn the other hand, I don’t think you should add those ever
minus-squareEthan@programming.devlinkfedilinkEnglisharrow-up0·2 years agoSure. 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.
minus-squareleftzero@lemmynsfw.comlinkfedilinkarrow-up0·2 years ago a sane language JavaScript Pick one.
On the other hand, I don’t think you should add those ever
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.
Pick one.