LWN.net Logo

The C++ Style Sweet Spot (artima.com)

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)

The C++ Style Sweet Spot (artima.com)

Posted Oct 23, 2003 10:13 UTC (Thu) by alex (subscriber, #1355) [Link]

Mmm, link needs fixing me thinks. This story links to itself!

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds