Home > Programming > C Programming Language



C++ Programming Styles and Libraries

Sort 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 LibrariesPage 1C++ Programming Styles and LibrariesBjarne StroustrupAT&T Labs ResearchFlorham Park NJABSTRACTOne of the main aims of C++ has been to make it an excellent tool for writinglibraries. Here I present some points about the role of libraries and of the programmingstyles that they support and rely on. For lack of space for a thorough treatment of thesethemes I refer to books.1 IntroductionC++ is a multiparadigm programming language. That is C++ supports several styles of programming:Cstyle programmingC++ is a better C maintaining Cs flexibility and runtime efficiencywhile improving type checking;Data abstractionthe ability to create types that suit our needs;Objectoriented programming the idea of programming with class hierarchies and runtime polymorphism; andGeneric programmingprogramming using type parameterization of both data types and algorithms.Importantly C++ supports the use of combinations of those styles. This is crucial because the most effective programming techniques involve a variety of styles that people often classify as different. Radicallydifferent programming styles are often referred to as different paradigms; hence the word multiparadigmStroustrup2001].Naturally this flexibility is viewed as mere complexity by people who think that there is one style ofprogramming that is right for everyone. However C++ is a generalpurpose programming language with abias towards systems programming and none of the candidates for the one right way of writing programsadequately supports the range of needs faced by C++ programmers.One group of programmers in particular need generality flexibility and efficiency beyond what mostprogrammers consider normal and reasonable: library writers. Many parts of C++ are best understood asfacilities supporting library writers and library users. Think of it this way: Without a good library mostinteresting tasks are hard to do in C++; but given a good library almo ...

Source: www.research.att.com


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 Files

Programming in C C++ Java

Filed under: Programming and C Programming Language
Programming in C C++ Java. Course Overview. Object oriented programming languages are widely used for the development of complex software systems. ...

C Programming

Filed under: Programming and C Programming Language
The C Programming Language ANSI C. By Brian W. C. Kernighan & Dennis M. Ritchie. K and R. "Practical C programming". By Steve ...

An Overview of the C++ Programming Language

Filed under: Programming and C Programming Language
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 Fundamentals

Filed under: Programming and C Programming Language
1 C Programming Fundamentals C is a compiled language. The user creates source code (often ... exe extension). Below is typical C program called LED.C that illustrates some fundamental C ...

Essential C

Filed under: Programming and C Programming Language
C Programming Language (below) as part of their research at AT&T. Unix and C++ ... The C Programming Language 2nd ed. by Kernighan and Ritchie. ...