Cart
Free Shipping in Ireland
Proud to be B-Corp

Designing and Coding Reusable C++ Martin D. Carroll

Designing and Coding Reusable C++ By Martin D. Carroll

Designing and Coding Reusable C++ by Martin D. Carroll


€32.99
Condition - Very Good
Only 2 left

Summary

One of the important benefits of programming in C++ is its reuse capabilities. This book illustrates and enumerates all of the tradeoffs involved in writing reusable code. The authors discuss the design of interfaces, the efficiency of implementations, portability, and compatibility.

Designing and Coding Reusable C++ Summary

Designing and Coding Reusable C++ by Martin D. Carroll

One of the important benefits of programming in C++ is its reuse capabilities. Designing and Implementing Reusable C++ illustrates and enumerates all of the tradeoffs involved in writing reusable code. The authors discuss the topics related to the software development of code reusability in the design of interfaces, the efficiency of implementations, portability, and compatibility. The advantages and disadvantages of the alternatives are discussed in depth so that programmers can make informed decisions. Novice and experienced programmers alike will benefit from the ideas presented by the authors to produce reusable C++ code. 020151284XB04062001

About Martin D. Carroll

About Martin D. Carroll

Martin D. Carroll, a member of the technical staff at AT&T Bell Laboratories, has worked for a number of years on the design and implementation of reusable C++ libraries, including the AT&T Standard Components Library. He is a graduate of Rutgers University with a doctorate in computer science. Dr. Carroll is an active contributor to USENIX C++.

About Margaret A. Ellis has worked for AT&T Bell Laboratories, UNIX System Laboratories, and Novell in compiler development. Ellis received a masters of science degree in computer science from the University of California. She is the coauthor of The Annotated C++ Reference Manual.



020151284XAB04062001

Table of Contents



Introduction To Reusability.

What is Reusability?

Myths of Reuse.

Obstacles to Reuse.

Is There Any Hope?

How This Book Can Help.



Class Design.

Abstraction.

Regular Functions.

Nice Classes.

A Minimal Standard Interface?

Shallow and Deep Copy.

Interface Consistency.

Conversions.

Use of const.

Summary.



Extensibility.

Tradeoffs of Extensibility.

Extensibility and Inheritance.

Inheritance Semantics.

Obstacles to Inheritability.

The Derived Assignment Problem.

Allowing Invasive Inheritance.

Summary.



Efficiency.

Efficiency and Reusability.

Build Time.

Code Size.

Run Time.

Free-Store and Stack Space.

Tradeoffs of Efficiency.

Summary.



Errors.

Errors in Reusable Code.

Error Detection.

Handling Errors.

Resource-Limit Errors.

Exception Safety.

Summary.



Conflict.

Global Names.

Macro Names.

Environmental Names.

Unclean Libraries.

Good-Citizen Libraries .

Summary.



Compatibility.

Backward and Forward Compatibility.

Forms of Compatibility.

Source Compatibility in Theory.

Source Compatibility in Practice.

Link Compatibility.

Run Compatibility.

Process Compatibility.

Documenting Incompatibilities.

Undocumented Properties.

Summary.



Inheritance Hierarchies.

Rootedness, Depth, and Fanout.

Hierarchy Styles.

Templates or Inheritance?

Summary.



Portability.

Should You Write Portable Code?

The Evolving Language Definition.

Undefined Behavior.

Legal, Nonportable Code.

Implementation Dependencies.

Portable Data Files.

Template Instantiation.

Run-Time Libraries.

Other Portability Concerns.

Summary.



Using Other Libraries.

Why Reuse Other Libraries?

Drawbacks of Reusing Other Libraries.

Self-Contained Libraries.

Summary.



Documentation.

Documentation and Reusability.

The Design Paper.

Tutorials.

Reference Manual.

Summary.



Miscellaneous Topics.

The Static Initialization Problem.

The Principle of Localized Cost.

Endogenous and Exogenous Classes.

Iterators.

Class Coupling.

Deferring Decisions.

Summary. 020151284XT04062001

Additional information

GOR003902741
9780201512847
020151284X
Designing and Coding Reusable C++ by Martin D. Carroll
Used - Very Good
Hardback
Pearson Education (US)
1995-05-30
336
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in very good condition, but if you are not entirely satisfied please get in touch with us

Customer Reviews - Designing and Coding Reusable C++