Skip to Content
Hands-On Embedded Programming with C++17
book

Hands-On Embedded Programming with C++17

by Maya Posch
January 2019
Intermediate to advanced
458 pages
10h 35m
English
Packt Publishing
Content preview from Hands-On Embedded Programming with C++17

Maintainability

In the preceding sections, we have seen a number of features that C++ offers, and the viability of using them on a resource-limited platform. A big advantage of using C++ is the reduction in code size you can accomplish through the use of templates, along with the organization and modularization of a code base using classes, namespaces, and the like.

By striving for a more modular approach in your code, with clear interfaces between modules, it becomes more feasible to reuse code between projects. It also simplifies the maintenance of code by making the function of a particular section of code clearer and providing clear targets for unit and integration testing.

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

Hands-On RTOS with Microcontrollers

Hands-On RTOS with Microcontrollers

Brian Amos

Publisher Resources

ISBN: 9781788629300Supplemental Content