Object-Oriented Design Choices

Regular price €186.00
Quantity:
In stock with our UK publisher. 14-28 days
Delivery/Collection within 10-20 working days
14 days return policy Shipping & Delivery
A01=Adair Dingle
advanced object-oriented programming strategies
Author_Adair Dingle
C++ memory management
Category=UB
Category=UMX
class invariants
Client Code
composition
Composition Design
Contractual design
Copy Constructor
Data Corruption
data integrity
Data integrity responsibilities
Data Member
Deep Copying
Defensive Programming
Dependency Injection
Descendant Class
Design longevity
Dynamic Binding
encapsulation principles
eq_bestseller
eq_computing
eq_isMigrated=1
eq_isMigrated=2
eq_nobargain
eq_non-fiction
Heap Memory
Heap Object
Heterogeneous Collections
inheritance
Memory Leaks
Memory management
Multiple Inheritance
Object-oriented designs
Operator Overloading
polymorphic behaviour
Private Utility Functions
programming
Public Bool
Public Constructor
Reference Count
Shallow Copying
Smart Pointers
software architecture
software engineering
software evolution
software testing
type design
type safety
Vice Versa
Virtual Bool
Virtual Methods

Product details

  • ISBN 9780367820817
  • Weight: 453g
  • Dimensions: 156 x 234mm
  • Publication Date: 19 Jan 2021
  • Publisher: Taylor & Francis Ltd
  • Publication City/Country: GB
  • Product Form: Hardback
Secure checkout Fast Shipping Easy returns

Do modern programming languages, IDEs, and libraries make coding easy? Maybe, but coding is not design. Large-scale or expensive apps clearly require evaluation of design choices. Still, software design directly impacts code reuse and longevity even for small-scale apps with limited overhead. This text evaluates and contrasts common object-oriented designs.

A given problem may have many solutions. A developer may employ different design techniques – composition, inheritance, dependency injection, delegation, etc. – to solve a particular problem. A skilled developer can determine the costs and benefits of different design responses, even amid competing concerns. A responsible developer documents design choices as a contract with the client, delineating external and internal responsibilities. To promote effective software design, this book examines contractual, object-oriented designs for immediate and sustained use as well as code reuse. The intent of identifying design variants is to recognize and manage conflicting goals such as short versus long-term utility, stability versus flexibility, and storage versus computation. Many examples are given to evaluate and contrast different solutions and to compare C# and C++ effects. No one has a crystal ball; however, deliberate design promotes software longevity. With the prominence of legacy OO code, a clear understanding of different object-oriented designs is essential.

Design questions abound. Is code reuse better with inheritance or composition? Should composition rely on complete encapsulation? Design choices impact flexibility, efficiency, stability, longevity, and reuse, yet compilers do not enforce design and syntax does not necessarily illustrate design. Through deliberate design, or redesign when refactoring, developers construct sustainable, efficient code.

Adair Dingle, PhD, is a professor of computer science at Seattle University, Washington, USA whose previous text, Software Essentials: Design and Construction, received the 2015 Alpha Sigma Nu Book Award. Teaching and research interests focus on algorithms and software design including efficient memory management, patterns, refactoring and tools for software development and education.

More from this author