Account
Computer Science & Technology

Object-Oriented Design Choices

How to Weigh Cost, Benefit, and Trade-Offs in Object-Oriented Code

Object-Oriented Design Choices compares competing OO solutions by cost and benefit, so every design trade-off in C# and C++ can be defended.

  • 349pages
  • 11chapters
  • Firstedition

This book is for you if you are

  • a developer moving beyond syntax into design justification
  • a student or instructor who needs comparative design exercises
  • a technical lead or reviewer judging composition, inheritance, and ownership

Why this book

Object-Oriented Design Choices by Adair Dingle is a comparative study of competing object-oriented design solutions, published by CRC Press in 2021. Rather than prescribing one style, the book sets alternatives side by side and weighs the cost and benefit of each. That framing turns abstract principles like encapsulation and inheritance into decisions you can defend.

Most design books show a pattern and move on; this one keeps score. Dingle walks the same problem through composition, inheritance, and type reuse, then measures what each choice does to memory and data integrity. The pointer construct and operator overloading get their own treatment, which is where many design failures actually start.

  • Side-by-side analysis of competing solutions instead of one prescribed pattern
  • Ownership modeled as abstracted but tracked, not left implicit
  • Data integrity treated as a design constraint from the class construct onward
  • Inheritance versus composition argued on cost, not preference
  • Design longevity as an explicit evaluation criterion
  • Worked examples in both C# and C++

Ownership, memory management, and extensibility get the depth programmers need when code must survive real maintenance. The chapter on design longevity is the clearest signal of the book's angle: it asks what an architecture costs years later.

This book suits working developers, students moving past syntax, and reviewers who must justify architecture choices to a team. The closing design exercises and comparative design exercises are built for exactly that practice. Get your copy today.

What you'll learn

  • Compare object-oriented design solutions by cost and benefit rather than by preference
  • Model ownership as an abstracted but tracked property of a class
  • Enforce data integrity through the class construct and contractual design
  • Contrast inheritance and composition on extensibility and memory overhead
  • Evaluate type reuse and dynamic behavior for long-term design longevity
  • Apply operator overloading and pointer constructs without breaking encapsulation
  • Work through comparative design exercises to defend an architecture decision

Not the right book for: readers who want a single prescribed pattern with no comparison

Questions about this book

What are the main object-oriented design choices covered?

The book contrasts contractual design, ownership, data integrity, composition, inheritance, and inheritance versus composition. It then extends the comparison to design longevity, operator overloading, and pointer constructs.

Which programming languages are the design examples written in?

Examples appear in both C# and C++. Seeing the same design choice in two languages makes the cost trade-off visible rather than language-specific.

How does this book differ from a standard object-oriented design textbook?

It analyzes competing solutions side by side, contrasting cost and benefits instead of prescribing a single pattern. That comparative approach is the book's organizing method.

Does the book explain when composition beats inheritance?

Yes. The chapters on inheritance versus composition and on type reuse weigh both against extensibility and memory behavior. Composition and inheritance each get a dedicated chapter first.

Are there exercises for practicing design decisions?

The table of contents ends with design exercises and comparative design exercises. They are aimed at practicing the evaluation of alternative solutions rather than repeating patterns.

Can I get it in another format?

Yes. You get the PDF right away. Need EPUB, Kindle, Word or any other format? Email support@ebooksonline.si with your order number and we send it.

Does it work on Kindle?

Yes. Email support@ebooksonline.si with your order number and we send you a Kindle-ready file.

How many times can I download it?

As many times as you like. Sign in to your account and download it again at any time.

What if the file does not work?

Contact us with your order number and we will fix it or refund you.

Contents

  1. 1Contractual Design and the Class Constructp. 3
  2. 2Ownership – Abstracted but Trackedp. 29
  3. 3Data Integrityp. 59
  4. 4Compositionp. 89
  5. 5Inheritancep. 119
  6. 6Inheritance versus Compositionp. 153
  7. 7Design Longevityp. 181
  8. 8Operator Overloadingp. 211
  9. 9The Pointer Constructp. 231
  10. 10Design Exercisesp. 247
  11. 11Comparative Design Exercisesp. 275

Details

Author
Adair Dingle
Publisher
CRC Press
Edition
First edition, 2021
ISBN
9780367820817
Pages
349
Language
English
Formats
PDF (EPUB, Kindle or any other format on request)
File size
8.56 MB
Licence
Personal use, keep forever

Adair Dingle

Adair Dingle wrote this analysis of competing object-oriented design solutions, published by CRC Press.

Buy with confidence

If your file does not open or download, we fix it or refund you. Read the refund policy.

More in Computer Science & Technology

See all

Data Science on AWS

Chris Fregly and Antje Barth

PDF · 524 pages

$14.99 Regular price $64.99 −77%

You save $50.00

Add to cart

Java™ Coding Guidelines

Fred Long, Dhruv Mohindra, Robert C. Seacord, Dean F. Sutherland, David Svoboda

PDF · 304 pages

$9.99 Regular price $17.99 −44%

You save $8.00

Add to cart

AI 2041

Kai-Fu Lee and Chen Qiufan

PDF · 476 pages

$9.99 Regular price $31.99 −69%

You save $22.00

Add to cart
Cover of 10-Minute Focus by Daniel Walter

Get a free ebook

Join the list and get 10-Minute Focus free, plus a short note when new books arrive.

Your cart

No products in the cart.

Subjects

More

Look inside

Sample