cm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agoJavaScriptlemmy.mlimagemessage-square158fedilinkarrow-up11.03Karrow-down115cross-posted to: programmerhumor@lemmy.ml
arrow-up11.01Karrow-down1imageJavaScriptlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agomessage-square158fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareKacarott@aussie.zonelinkfedilinkarrow-up20·4 days agoThat is just the tip of the iceberg: https://whatthefsharp.com/JavaScript/3
minus-squareadrian783@lemmy.worldlinkfedilinkarrow-up2·3 days agoso plus coerces into string if not number, was that so hard?
minus-squareMatombo@feddit.orglinkfedilinkarrow-up6·4 days agoNot just javascript: https://www.destroyallsoftware.com/talks/wat
minus-squareTempermentalAnomaly@lemmy.worldlinkfedilinkarrow-up5·4 days agoF#? What? We can’t curse on the internet? Self censorship at dictator levels here. /s
minus-squarewabasso@lemmy.calinkfedilinkEnglisharrow-up3·3 days agoHaha that’s a great site. But I think the C example is actually reasonable behaviour.
minus-squareCrankenstein@lemmy.worldlinkfedilinkarrow-up3·4 days agoUgh, like… I get why it outputs like that, but I also absolutely hate that it outputs like that.
That is just the tip of the iceberg:
https://whatthefsharp.com/JavaScript/3
so plus coerces into string if not number, was that so hard?
Oh wow, that’s upsetting
Not just javascript: https://www.destroyallsoftware.com/talks/wat
F#? What? We can’t curse on the internet? Self censorship at dictator levels here. /s
Haha that’s a great site. But I think the C example is actually reasonable behaviour.
Ugh, like… I get why it outputs like that, but I also absolutely hate that it outputs like that.