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-November/010758.html below:

[Python-Dev] A house upon the sand)

Methods vs. Functions (Re: [Python-Dev] A house upon the sand) Methods vs. Functions (Re: [Python-Dev] A house upon the sand)Fredrik Lundh fredrik@effbot.org
Tue, 28 Nov 2000 02:11:48 +0100
Greg Ewing wrote:
> > he's ignoring the case:
> >
> >    else if (f can be implemented via C's
> >             public interface, but may have
> >             to be overridden by a subclass
> >             to C)
> 
> Isn't that the same as "f needs to be virtual"?

in Python, sure.

in C++, it depends.  thanks to function overloading, you can have
polymorphism without having to make everything virtual...

</F>




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