Skip to Content
Object Design Style Guide
book

Object Design Style Guide

by Matthias Noback
January 2020
Intermediate to advanced
288 pages
6h 45m
English
Manning Publications
Content preview from Object Design Style Guide

Chapter 1. Programming with objects: A primer

This chapter covers

  • Working with objects
  • Unit testing
  • Dynamic arrays

Before we get into the actual style guide, this chapter covers some of the fundamental aspects of programming with objects. We’ll briefly go over some important concepts and establish a shared terminology that we can build on in the following chapters.

We’ll be covering the following topics in this chapter:

  • Classes and objects— Creating objects based on classes, using a constructor, static versus object methods, static factory methods for creating new instances, and throwing exceptions inside a constructor (section 1.1).
  • State— Defining private and public properties, assigning values to them, constants, and mutable versus immutable ...
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.
Start your free trial

You might also like

Object Design Style Guide

Object Design Style Guide

Matthias Noback
Design It!

Design It!

Michael Keeling
The Art of Clean Code

The Art of Clean Code

Christian Mayer

Publisher Resources

ISBN: 9781617296857Publisher SupportOtherPublisher WebsiteErrata PagePurchase Link