Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 5 months agoJavaScriptsh.itjust.worksimagemessage-square14fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageJavaScriptsh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · 5 months agomessage-square14fedilink
minus-squaremorgunkorn@discuss.tchncs.delinkfedilinkarrow-up0·5 months agoOn the other hand, I don’t think you should add those ever
minus-squareEthan@programming.devlinkfedilinkEnglisharrow-up0·5 months 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·edit-25 months 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.