Learn the fundamentals of Object-Oriented design by investigating good—and bad—code!
Well-designed applications run more efficiently, have fewer bugs, and are easier to revise and maintain. Using an engaging “before-and-after” approach, Object-Oriented Software Design in C++ shows you exactly what bad software looks like and how to fix it with good design principles and patterns.
In Object-Oriented Software Design in C++, you’ll find:
Design-code-test iterations that improve code with each revision
Gathering requirements to make sure you’re developing the right application
Design principles like encapsulation and delegation that solve programming problems
Design patterns including Observer Design Pattern that fix architecture issues
Using recursion and multithreading to simplify common solutions
Object-Oriented Software Design in C++ is a vital guide to building the kind of high performance applications delivered by the pros—all using industry-proven design principles and patterns. You’ll learn how to gather and analyze requirements so you’re building exactly what your client is looking for, backtrack mistakes with iterative development, and build a toolbox of design patterns that troubleshoot common issues with application architecture. The book’s accessible examples are written in C++ 17, but its universal principles can be applied to any object-oriented language.
About the Technology Good design is the foundation of great software. Mastering the principles of object-oriented design is the surest way to create applications that run fast, have few bugs, and last well into the future. Written especially for new C++ programmers, this easy-to-read book gently mentors you in the art of designing great software.
About the Book Object-Oriented Software Design in C++ introduces object-oriented design principles, practices, and patterns in clear, jargon-free language. The instantly-familiar before-and-after examples highlight the benefits of good design. Each chapter is full of friendly conversations that anticipate your questions and help point out the subtleties you might overlook. Along the way, you’ll pick up tips about idiomatic C++ style that will set your code apart.
What's Inside
Design-code-test iterations
Design principles for common programming problems
Architecture design patterns in plain English
Recursion and multithreading
About the Reader Examples are in C++ 17.
About the Author Ronald Mak is a former NASA senior scientist. Currently, he teaches computer science at San Jose State University.
The technical editor on this book was Juan Rufes.
Quotes It is a joy to see these timeless and pragmatic lessons! If you have basic C++ knowledge, you will become a better programmer by mastering these principles and patterns of object-oriented design. - Cay Horstmann, author of Core Java and Big C++
Ron Mak has mentored many, many students and through this book you can benefit from his knowledge and experience. - Dan Harkey, Director of Software Engineering, San Jose State University
Elevate your software design skills with this exceptional guide. A brilliantly crafted masterpiece that goes deep into the art of designing software. - Eros Pedrini, NTT Data
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.