Classic OOP in Python
jongiddy
jongiddy at gmail.com
Thu Nov 12 06:03:51 EST 2015
On Thursday, 18 June 2015 12:21:29 UTC+1, Jason P. wrote:
>
> I'm aware of duck typing. The point in using interfaces is to be explicit about the boundaries of a system.
>
> Quite a red "Growing Object-Oriented Software, Guided by Tests", by the way. In fact interfaces are key components in the style of building software they propose, in good company with TDD.
>
> Thx!
Late to the party, but I have added a package `jute` to PyPI which provides interface checking closer to the model used in Java (and other compiled OO languages). See https://github.com/jongiddy/jute
More information about the Python-list
mailing list