"duck typing" says a...

24AheadDotCom_'s avatar
"duck typing" says a variable called "tweet" could be anything: it would be an "ITweet"/"Tweet" in a real language, or - if somewhere deep in the code someone's given it a bill - it could be a duck. Or it could be president or Pope. Who knows? #DuckTyping = mystery meat for code.
From @24aheaddotcom_
Tweeted Fri, Mar 2, 2018 at 9:21 pm