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


Groups > comp.lang.python > #98691

Re: Classic OOP in Python

X-Received by 10.182.196.34 with SMTP id ij2mr12679637obc.24.1447326231871; Thu, 12 Nov 2015 03:03:51 -0800 (PST)
X-Received by 10.50.142.39 with SMTP id rt7mr22576igb.7.1447326231851; Thu, 12 Nov 2015 03:03:51 -0800 (PST)
Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!i2no2117720igv.0!news-out.google.com!f6ni2044igq.0!nntp.google.com!i2no735216igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Thu, 12 Nov 2015 03:03:51 -0800 (PST)
In-Reply-To <01adfef5-7edf-447c-9397-853c4fd65e53@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=151.237.232.130; posting-account=KsoyMQkAAAAewqMJYXCNG9IZduQXE-lZ
NNTP-Posting-Host 151.237.232.130
References <23b2fae3-91d5-486b-9898-78b34bee486f@googlegroups.com> <16dc8c92-50e3-4fc8-ae25-cbc5b13e8971@googlegroups.com> <01adfef5-7edf-447c-9397-853c4fd65e53@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <6b0d08b3-5599-4952-85d2-a43c72ee71b2@googlegroups.com> (permalink)
Subject Re: Classic OOP in Python
From jongiddy <jongiddy@gmail.com>
Injection-Date Thu, 12 Nov 2015 11:03:51 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:98691

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Classic OOP in Python jongiddy <jongiddy@gmail.com> - 2015-11-12 03:03 -0800

csiph-web