Jonathan Daugherty wrote:
> # so with interfaces, missing methods will suddenly appear out of thin
> # air ?
>
> With interfaces, the idea is that they're enforced; so, they'll appear
> because someone implements them.

But if you're writing tests you will check method signatures anyway, so
why bother? Besides how java-like interfaces will help you if one of
interface methods is supposed to accept one parameter that can be list
or dict and not accept None?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to