Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53222 > unrolled thread

Re: Interface and duck typing woes

Started byChris Angelico <rosuav@gmail.com>
First post2013-08-29 17:16 +1000
Last post2013-08-29 17:16 +1000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Interface and duck typing woes Chris Angelico <rosuav@gmail.com> - 2013-08-29 17:16 +1000

#53222 — Re: Interface and duck typing woes

FromChris Angelico <rosuav@gmail.com>
Date2013-08-29 17:16 +1000
SubjectRe: Interface and duck typing woes
Message-ID<mailman.349.1377760625.19984.python-list@python.org>
On Thu, Aug 29, 2013 at 4:31 PM, Fabrice POMBET <fp2161@gmail.com> wrote:
> I am no depository of the pythonic way to think(tm) but I would create flock and inherit Duck from flock, or possibly set Flock as a method of ducks.
>

Why should a Duck _be_ a Flock? They are quite different. No, a flock
_has_ a duck (or rather, a number of ducks).

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web