Skip to content

Cove Mountain Software

Embedded Software, Firmware and the Internet of Things

  • Home
  • Products
  • Services
    • QP Jump Start Consulting
    • Architecture and Design
    • Source Code Review
    • Consulting – Matthew Eshleman
  • Downloads And Data
  • Blog

Tag: maintenance

16Dec
0 comments on “Code maintenance: avoid naked integers”

Code maintenance: avoid naked integers

Posted by Matthew Eshlemanon December 16, 2023December 16, 2023in Best PracticesLeave a comment

If you want an easier to understand and maintain API: avoid naked integers.

17Dec
0 comments on “Code maintenance: Clean header files”

Code maintenance: Clean header files

Posted by Matthew Eshlemanon December 17, 2022December 18, 2022in Best Practices, Favorite Code TricksLeave a comment

Keep public header files clean. Clean header files are easier to understand, improve build times, and simplify unit testing.

18Jun
3 comments on “Code maintenance: enums and lookup tables”

Code maintenance: enums and lookup tables

Posted by Matthew Eshlemanon June 18, 2022June 18, 2022in Favorite Code Tricks3 Comments

An enum combined with a lookup table presents a unique code maintenance concern. Learn more in this post.

18May
2 comments on “Code maintenance and magic numbers”

Code maintenance and magic numbers

Posted by Matthew Eshlemanon May 18, 2022May 18, 2022in Best Practices, Commentary2 Comments

We encounter many forms of magic numbers in the field of firmware and embedded software. How do we ensure maintainable code when working with these values? This post provides an exampl

26Nov
0 comments on “Why I prefer C++: “RAII All The Things!””

Why I prefer C++: “RAII All The Things!”

Posted by Matthew Eshlemanon November 26, 2019July 7, 2020in Best Practices, C++11, Favorite Code TricksLeave a comment

Learn how the C++ RAII idiom enables better code with reduced maintenance overhead.

Posts pagination

1 2 Next

Need a code review? Start your request here: Request a Code Review.

  • LinkedIn
  • Twitter
Cove Mountain Software
Proudly powered by WordPress Theme: Fortune.
 

Loading Comments...