abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 7 months agoHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comexternal-linkmessage-square43fedilinkarrow-up1141arrow-down19
arrow-up1132arrow-down1external-linkHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 7 months agomessage-square43fedilink
minus-squareMiaoulinkfedilinkEnglisharrow-up3arrow-down1·7 months agoIdiots downvoting you (c/technology…) but this how e.g. Haskell and rust handle that, and probably most strongly typed languages
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·7 months agoYeah i think python needs stronger type enforcement i do like how they have been improving type hinting tho really helps with preventing bugs
Idiots downvoting you (c/technology…) but this how e.g. Haskell and rust handle that, and probably most strongly typed languages
Yeah i think python needs stronger type enforcement i do like how they have been improving type hinting tho really helps with preventing bugs