Nick Coghlan wrote:
On 16 March 2014 01:40, Guido van Rossum <gu...@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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com