abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 6 months agoHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comexternal-linkmessage-square43fedilinkarrow-up1143arrow-down19cross-posted to: programming@zerobytes.monster
arrow-up1134arrow-down1external-linkHow Python Compares Floats and Ints: When Equals Isn’t Really Equalblog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 6 months agomessage-square43fedilinkcross-posted to: programming@zerobytes.monster
minus-squareMiaou@jlai.lulinkfedilinkEnglisharrow-up3arrow-down1·6 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·6 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