© 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.