Sponsored Links

 

 

 

C++ Programming Styles and Libraries

Source: www.research.att.com
Topic: C Programming


Short Desciption:
C++ is a multiparadigm programming language. That is, C++ supports several .... clean, maintainable, efficient code) is to master modern C++ programming ...

 

Content Inside:
C++ Programming Styles and Libraries Bjarne Stroustrup AT&T Labs - Research Florham Park - NJ ABSTRACT One of the main aims of C++ has been to make it an excellent tool for writing libraries. Here, I present some points about the role of libraries and of the programming styles that they support and rely on. For lack of space for a thorough treatment of these themes, I refer to books. 1 Introduction C++ is a multiparadigm programming language. That is, C++ supports several styles of programming: C-style programming C++ is a better C, maintaining C’s flexibility and run-time efficiency while improving type checking; Data abstraction the ability to create types that suit our needs; Object-oriented programming the idea of programming with class hierarchies and runtime polymor- phism; and Generic programming programming using type parameterization of both data types and algo- rithms. Importantly, C++ supports the use of combinations of those styles. This is crucial because the most effec- tive programming techniques involve a variety of styles that people often classify as different. Radically different programming styles are often referred to as different paradigms; hence the word ‘‘multiparadigm’’ [Stroustrup,2001]. Naturally, this flexibility is viewed as mere complexity by people who think that there is one style of programming that is right for everyone. However, C++ is a general-purpose programming language with a bias towards systems programming and none of the candidates for ‘‘the one right way’’ of writing programs adequately supports the range of needs faced by C++ programmers. One group of programmers in particular need generality, flexibility, and efficiency beyond what most programmers consider normal and reasonable: library writers. Many parts of C++ are best understood as facilities supporting library writers and library users. Think of it this way: Without a good library, most interesting tasks are hard to do in C++; bu ...

 

add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related PDF Files

Programming in C/C++


Topic: C Programming

... and C++ Programming in C/C++ Hits: 4,306 Description: This tutorial starts from the very beginning, and goes to the more complicated areas of the C/C++ programming. A nice tutorial, if ...

C Socket Programming Tutorial- Writing Client/Server Programs in C ...


Topic: C Programming

SAS/C & C++ Compiler R&D Slide 2 C Socket Programming Tutorial SHARE Session 5958 SAS Institute Inc. SAS Institute Inc. Cary, NC Cary, NC Feb. 1998 Part I:

C Programming


Topic: C Programming

Learn all about the C programming language in this comprehensive tutorial training set. Become well versed in the one today widely used core languages for programming. C ...

An Overview of the C++ Programming Language


Topic: C Programming

The C++ programming language provides a model of memory and computation that ... §3 The C Programming Model presents the C subset of C++ and other C++ ...

C Programming/Print version


Topic: C Programming

program which combines editing, compiling and debugging into a convenient all in one interface. ... compilers also compile C programs, sometimes with a few ...

 

Sponsored Links