MasterNerd@lemm.ee to Programmer Humor@lemmy.ml · 3 months agoLabels go brrrrlemm.eeimagemessage-square17fedilinkarrow-up1102arrow-down18cross-posted to: programmer_humor@programming.dev
arrow-up194arrow-down1imageLabels go brrrrlemm.eeMasterNerd@lemm.ee to Programmer Humor@lemmy.ml · 3 months agomessage-square17fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareEthan@programming.devlinkfedilinkEnglisharrow-up3·3 months ago“Assume it’s a map and treat like a map and then catch the type error if it’s not.” Paraphrased from actual advice by Guido on how you should write Python. Python isn’t a bad language but the philosophy that comes along with it is so fucked.
minus-squareZephyrXero@lemmy.worldlinkfedilinkEnglisharrow-up2·3 months agoThis is just preferring runtime validation instead of compile time validation.
“Assume it’s a map and treat like a map and then catch the type error if it’s not.” Paraphrased from actual advice by Guido on how you should write Python. Python isn’t a bad language but the philosophy that comes along with it is so fucked.
This is just preferring runtime validation instead of compile time validation.