Missing interfaces in Python...

Jonathan Daugherty cygnus at cprogrammer.org
Tue Apr 18 16:12:09 EDT 2006


# All interfaces (as implemented by Java) prove is that your class has
# a bunch of methods with the right names and signatures.  It doesn't
# prove that those methods do the right things.

I don't think anyone is suggesting that interfaces do (or should)
prove that the implemented methods actually do the right thing.

-- 
  Jonathan Daugherty
  http://www.parsed.org



More information about the Python-list mailing list