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