[Python-3000] Discussions with no PEPs
Barry Warsaw
barry at python.org
Tue Mar 13 18:29:08 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mar 13, 2007, at 12:05 PM, Phillip J. Eby wrote:
> However, more people are under the impression that interface
> testing is
> safe and pure and smell-free, so there's more of a barrier to
> overcome for
> them to learn why it's wrong, without them first getting bitten --
> either
> by their own code or somebody else's.
Phillip, could you sum the argument up as this: being against
interface testing as just a fancy isinstance() test, but that
adaptation and/or generics is a better way to go because the former
is a LBYL pattern while the latter is a Just Do It pattern.
- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iQCVAwUBRfbfanEjvBPtnXfVAQImlgP/bZguuw5GhZsV/nXOaaivrISAaaQN7PCX
MYclQdI1R38hJCZSrHpDzoyTAbY+uMwuoCLSjW33f6oVNStspUb3weIJnx3fcYb4
NXTAZhs7VQ5oDcD0Fpy1zTkQ9tn9sCIomWNcWQCQG0DRJ+biwqNqG39FqeS9lsEV
pp2sTunxtIU=
=MgHy
-----END PGP SIGNATURE-----
More information about the Python-3000
mailing list