© Eyal Shahar  2019
E. ShaharProject Reliability Engineeringhttps://doi.org/10.1007/978-1-4842-5019-8_1

1. The Case for Object-Oriented Programming

Eyal Shahar1 
(1)
San Francisco, CA, USA
 

We will start by reviewing some of the foundations of object-oriented programming (OOP), specifically from the point of view of a hardware-centered, SBC-powered project. Whether you are familiar with OOP or not, we will discuss some examples that demonstrate the usefulness of inheritance when dealing with peripherals such as sensors. In later chapters we will see how polymorphism helps create more elegant and scalable tools for troubleshooting, logging, and monitoring.

Object-Oriented Programming Basics

In object-oriented programming, as the name suggests, the programmer ...

Get Project Reliability Engineering: Pro Skills for Next Level Maker Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.