A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-March/002951.html below:

Do we need a UserString class?

[Python-Dev] [1.6]: UserList, Dict: Do we need a UserString class?Moshe Zadka Moshe Zadka <mzadka@geocities.com>
Wed, 29 Mar 2000 16:15:36 +0200 (IST)
On Wed, 29 Mar 2000, Guido van Rossum wrote:

> Let's not confuse subtypes and subclasses.  One of the things implicit
> in the discussion on types-sig is that not every subclass is a
> subtype!  Yes, this violates something we all learned from C++ -- but
> it's a great insight.  No time to explain it more, but for me, Peter's
> subclassing UserString for MutableString to borrow implementation is
> fine.

Oh, I agree with this. An earlier argument which got snipped in the
discussion is why it's a bad idea to borrow implementation (a totally
different argument)

--
Moshe Zadka <mzadka@geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com




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