The C++ Style Sweet Spot (artima.com)
[Posted October 22, 2003 by cook]
Artima.com is running part 1 of
an interview
with C++ creator Bjarne Stroustrup.
"
A lot of people see C++ as C with a few bits and pieces added. They write code with a lot of arrays and pointers. They tend to use new the way they used malloc. Basically, the abstraction level is low. Writing C-style code is one way to get into C++, but it's not using C++ really well.
I think a better way of approaching C++ is to use some of the standard library facilities. For example, use a vector rather than an array."
(
Log in to post comments)