Wednesday 13 January 2021

Units

 

Ever called a function passing seconds instead of milliseconds? Or metres instead of feet? Here's a robust way to avoid problems with units.

Topics include:

  • C++
  • C++ 11/14
  • Time
  • Units
  • Type safety
Source code available at: https://github.com/JasperKent/Units

No comments:

Post a Comment

The State Pattern

  How many developers does it take to change a lightbulb? With the State pattern, not very many. Topics include: The State Pattern Design Pa...