Is duck-typing misnamed?
Terry Reedy
tjreedy at udel.edu
Sat Aug 27 18:34:21 EDT 2016
On 8/26/2016 7:58 PM, ROGER GRAYDON CHRISTMAN wrote:
> "If it walks like a duck, quacks like a duck,... "
>
> so there is indeed precedence for this so-called 'duck typing'
>
>
> but wouldn't it be more Pythonic to call this 'witch typing'?
>
> "How do you know she is a witch?"
>
> "She looks like one."
Given that people were once burned to death for 'looking like a witch'
(or sounding or acting), and can still suffer socially for such reasons,
this it not funny to me. We should stick with ducks.
--
Terry Jan Reedy
More information about the Python-list
mailing list