
How to Deal with Badly Written Code
Posted on 2018-08-31— C++, How and Why, Improve your Code
I often encounter poorly written C++ libraries, especially around hardware. In this post I outline four practical strategies—rewrite, refactor, wrap the library, or wrap the interface—to regain control, improve reliability, and reduce pain. Read on for pragmatic steps and examples you can apply to your projects.