Skip to content

Cove Mountain Software

Embedded Software, Firmware and the Internet of Things

  • Home
  • Products
  • Services
    • Architecture and Design
    • Source Code Review
    • Best Practices Advisor Service
    • Consulting – Matthew Eshleman
  • Downloads And Data
  • Blog

Category: Favorite Code Tricks

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
2 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 Tricks2 Comments

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

01Mar
3 comments on “A survey of concurrency bugs”

A survey of concurrency bugs

Posted by Matthew Eshlemanon March 1, 2021March 8, 2021in Best Practices, Commentary, Favorite Code Tricks, Real Time3 Comments

Concurrency is hard. Multithreaded code is hard. This post surveys common concurrency related bugs and outlines possible solutions.

17Apr
2 comments on “Unit Testing of Active Objects and State Machines”

Unit Testing of Active Objects and State Machines

Posted by Matthew Eshlemanon April 17, 2020April 27, 2020in Best Practices, Favorite Code Tricks, state charts, TDD, unit testing2 Comments

How do we unit test an active object or state machine? This post explores techniques for successful unit testing of modules driven by state machines.

19Feb
3 comments on “UML Statechart tip: Be wary of exit-state behavior”

UML Statechart tip: Be wary of exit-state behavior

Posted by Matthew Eshlemanon February 19, 2020March 17, 2020in Best Practices, Commentary, Favorite Code Tricks3 Comments

Be wary of exit-state driven behavior when designing for UML statecharts.

Posts navigation

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

Loading Comments...