Newsgroup: comp.lang.c++


Date: Wed, 26 Apr 2006 17:16:03 +0300
From: Diomidis Spinellis <dds@aueb.gr>
Organization: Athens University of Economics and Business
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1
MIME-Version: 1.0
Newsgroups: comp.lang.c++
Subject: Re: new features in c++?
References: <y1L3g.54440$d5.209107@newsb.telia.net>
In-Reply-To: <y1L3g.54440$d5.209107@newsb.telia.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
edware wrote:
> I read a C++ book some years ago and learned the
> basics of C++. And I've almost done no C++ programming
> since then. Now I notice stuff like exceptions, templates
> and the using namespace statement. Are these things
> new additions, or have they been there all along?

C++ has been gaining features over the years.  The following table 
(excerpted from 
http://www.spinellis.gr/pubs/conf/1999-ESREL-SoftRel/html/chal.html) 
illustrates this fact by using the number of pages in Stroustrup's book 
"The C++ Programming Language" as a proxy for the size of the language:

Edition Year    Pages
------- ----    -----
1st     1986    328
2nd     1991    669
3rd     1997    910

By far the most important addition to C++ has been the template 
mechanism, and the standard template library.  I find programming in 
modern C++ with STL to be a totally different experience than 
programming in the 1986 version of the language.   Nowadays I seldom use 
new and delete; STL containers handle most of my storage management needs.

-- 
Diomidis Spinellis
Code Quality: The Open Source Perspective (Addison-Wesley 2006)
http://www.spinellis.gr/codequality



Newsgroup comp.lang.c++ contents
Newsgroup list
Diomidis Spinellis home page

Creative Commons License Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-Share Alike 3.0 Greece License.