Is Python overhyped (just like Java)?
Steven Taschuk
staschuk at telusplanet.net
Tue Apr 1 00:05:20 EST 2003
Quoth Thomas Bellman:
> Roy Smith <roy at panix.com> writes:
>
> > I'm all for C++ bashing, but in what way do you think C++ is not "a true
> > object oriented language"?
>
> A common complaint is that it confuses implementation (inheritance)
> with interface. If a function expects a Frobnitz instance, then it
> better get an instance of a class that derives its implementation
> from the Frobnitz class, or the compiler will reject your program.
> A class that implements exactly the same interface, but uses its
> own implementation without inheriting from Frobnitz, won't work.
It's been a long time since I've done any C++ programming, but
don't pure virtual classes do the work of Java interfaces?
> After a while it was realized that that was untenable, and
> templates were invented to patch around it.
What do templates have to do with interfaces?
[...]
--
Steven Taschuk "The world will end if you get this wrong."
staschuk at telusplanet.net -- "Typesetting Mathematics -- User's Guide",
Brian Kernighan and Lorrinda Cherry
More information about the Python-list
mailing list