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