Object Design Style Guide

  • 3h 38m
  • Matthias Noback
  • Manning Publications
  • 2019


Objects are the central concept of languages like Java, Python, C#. Applying best practices for object design means that your code will be easy to read, write, and maintain. Object Design Style Guide captures dozens of techniques for creating pro-quality OO code that can stand the test of time. Examples are in an instantly familiar pseudocode, teaching techniques you can apply to any OO language, from C++ to PHP.

About the technology

Well-written OO code is a pleasure to read, modify, and debug. Elevate your coding style by mastering the universal best practices for object design presented in this book. These clearly presented rules, which apply to any OO language, maximize the clarity and durability of your codebase and increase productivity for you and your team.

About the book

Object Design Style Guide presents dozens of professional techniques for writing OO code. In it, veteran developer Matthias Noback lays out design rules for constructing objects, defining methods, changing and exposing state, and much more. All examples use instantly familiar pseudocode, so you can follow along in the language you prefer. You’ll go case by case as you explore important scenarios and challenges for object design and then walk through a simple web application that demonstrates how different types of objects can work together effectively.

What's inside

  • Universal design rules for a wide range of objects
  • Best practices for testing objects
  • A catalog of common object types
  • Exercises for each chapter to test your object design skills

About the reader

For readers familiar with an object-oriented language and basic application architecture.

About the Author

Matthias Noback is a professional web developer with nearly two decades of experience. He runs his own web development, training, and consultancy company called “Noback’s Office.”

In this Book

  • Foreword
  • Preface
  • About This Book
  • About the Cover Illustration
  • Programming with objects—A Primer
  • Creating Services
  • Creating other Objects
  • Manipulating Objects
  • Using objects
  • Retrieving information
  • Performing Tasks
  • Dividing Responsibilities
  • Changing the Behavior of Services
  • A Field Guide to Objects
  • Epilogue
  • Style Guide Cheat Sheet