Can anyone recomend a good intoduction to C...

Jan Dries jdries at mail.com
Thu Mar 8 20:23:02 EST 2001


Courageous wrote:
> 
> >All this bloat added to C++ was not necessary for making an OO language.
> 
> Echo that. What's "object oriented" about templates?
> 
> A: NOTHING.
> 

If Stroustrup's goal had been to come up with an object oriented
language, and nothing more, he might just as well have produced
SmallTalk.
Templates may not be OO per se, but that does not mean they're of no
use. OO is just one of around 40 commonly used architectural styles to
develop software. OO is a means of achieving some goal, not a goal in
itself, and templates are simply another technique, complementary to OO,
to assist programmers in achieving the goal of developing robust,
reusable, entensible software. Quoting from "The ANSI/ISO C++
Professional Programmer's Handbook": "Generic programming proceeds one
step beyond object oriented programming in pursuing reusability. Two
important features of C++, templates and operator overloading, are the
basis of generic programming."

Regards,
Jan




More information about the Python-list mailing list