© Eyal Shahar 2019Eyal ShaharProject Reliability Engineeringhttps://doi.org/10.1007/978-1-4842-5019-8_1
1. The Case for Object-Oriented Programming
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.
In object-oriented programming, as the name suggests, the programmer ...