The Old Blog Archive (Traditional Chinese), 2004-2009

今日金句:On Duck Typing

On 2007-04-10T02:19:06+0800, Lukhnos D. Liu wrote:
> Never learned Python so couldn't say anything. Sort of
> recalled the time when someone said polymorphism could
> be translated into 有教無類 ...

Thanks for the remembrance.  I now know the distinction
between ad-hoc polymorphism and parametric polymorphism,
and wonder how it can be translated.

I guess duck typing is 鴨子聽雷.

From Dr. Shan.

One Response to “今日金句:On Duck Typing”

  1. [...] 今日金句:On Duck Typing – polymorphism 翻作「有教無類」,而 duck typing 翻作「鴨子聽雷」,真是妙譯。 [...]