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:

1.1. Classes and objects

1.2. State

1.3. Behavior

1.4. Dependencies

1.5. Inheritance

1.6. Polymorphism

1.7. Composition

1.8. Class organization

1.9. Return statements and exceptions

1.10. Unit testing

1.11. Dynamic arrays

Summary

sitemap