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-squareTelorand@reddthat.comlinkfedilinkarrow-up24·3 months agoFr, though, duck typing in Python is one of my biggest annoyances.
minus-squarePotatoesFall@discuss.tchncs.delinkfedilinkarrow-up13·3 months agoI love duck typing! dynamic typing is my issue…
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.
Fr, though, duck typing in Python is one of my biggest annoyances.
I love duck typing! dynamic typing is my issue…
“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.
👆 This.