Nick Coghlan wrote: > On 16 March 2014 01:40, Guido van Rossum <guido at python.org> wrote: > >>This downside of using subclassing as an API should be well known by now and >>widely warned against. > > I've actually pondered the idea of suggesting we explicitly recommend > the "procedural facade around an object oriented implementation" API > design model in PEP 8, I don't think I would call this a "procedural" API. To my mind, any API that exposes objects with methods is an object-oriented API, whether it encourages subclassing those objects or not. -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4