Warenkorb
Kostenloser Versand
Unsere Operationen sind klimaneutral

Designing and Coding Reusable C++ Martin D. Carroll

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

Designing and Coding Reusable C++ Martin D. Carroll


28.00
Zustand - Sehr Gut
Nur noch 2

Zusammenfassung

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++ Zusammenfassung

Designing and Coding Reusable C++ 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

Über 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

Inhaltsverzeichnis



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

Zusätzliche Informationen

GOR003902741
9780201512847
020151284X
Designing and Coding Reusable C++ Martin D. Carroll
Gebraucht - Sehr Gut
Gebundene Ausgabe
Pearson Education (US)
1995-05-30
336
N/A
Die Abbildung des Buches dient nur Illustrationszwecken, die tatsächliche Bindung, das Cover und die Auflage können sich davon unterscheiden.
Dies ist ein gebrauchtes Buch. Es wurde schon einmal gelesen und weist von der früheren Nutzung Gebrauchsspuren auf. Wir gehen davon aus, dass es im Großen und Ganzen in einem sehr guten Zustand ist. Sollten Sie jedoch nicht vollständig zufrieden sein, setzen Sie sich bitte mit uns in Verbindung.