Comment on Bird
JavaScript devs learning python: is this duck typing?
Yes.
if 'is_eating_birdseed' in obj.__dir__() and obj.is_eating_birdseed: return 'Is duck!'
Hmm, squirrels are weirdly shaped birds
Well, temporarily.
marcos@lemmy.world 1 week ago
Yes.
chellomere@lemmy.world 1 week ago
Hmm, squirrels are weirdly shaped birds
marcos@lemmy.world 1 week ago
Well, temporarily.