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/2003-December/040650.html below:

[Python-Dev] Int FutureWarnings and other 2.4 TODOs

[Python-Dev] Int FutureWarnings and other 2.4 TODOs [Python-Dev] Int FutureWarnings and other 2.4 TODOsGuido van Rossum guido at python.org
Wed Dec 3 11:10:00 EST 2003
> It's not me, it's Barbara Liskov at MIT.

:-)

(For non-OO wizards, this is called "Liskov substitutability".)

> The general notion is that if Y is derived from X, then you should
> be able to use a Y wherever you might otherwise want to use an X.
> In other words, Y should support every operation that X supports,
> but Y can add operations of its own.

So the question is, does long have operations that int doesn't have?
And if so, why can't those operations be added to int?  And if there's
a reason, is it good enough?

If the sets of operations are identical, is there a way to break the
tie?

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list

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