abhi9u@lemmy.world to Technology@lemmy.worldEnglish · 5 days agoThe Pythonic Emptinessblog.codingconfessions.comexternal-linkmessage-square5fedilinkarrow-up132arrow-down14file-text
arrow-up128arrow-down1external-linkThe Pythonic Emptinessblog.codingconfessions.comabhi9u@lemmy.world to Technology@lemmy.worldEnglish · 5 days agomessage-square5fedilinkfile-text
minus-squareTroy@lemmy.calinkfedilinkEnglisharrow-up2·4 days agoGenerally speaking, I like duck typing for function inputs, but not as much for function outputs (unless the functions are pure mathematics).
Generally speaking, I like duck typing for function inputs, but not as much for function outputs (unless the functions are pure mathematics).