Is Python overhyped (just like Java)?

David Abrahams dave at boost-consulting.com
Mon Mar 31 19:22:31 EST 2003


Thomas Bellman <bellman at lysator.liu.se> 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.
>
> After a while it was realized that that was untenable, and
> templates were invented to patch around it.

That's a very interesting view of the origin of templates!  Did you
know there's a book by Bjarne Stroustrup called "The Design and
Evolution of C++" where you can read the real story?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Python-list mailing list