Refactor legacy C++ code for testing / Extract and Override technique
Some time ago, I was involved in refactoring old C++ code written in a PoC (Proof of Concept) format that was not optimized for testing. C++ has always been interesting compared to Java and C# due to: Everything works well with unit tests when you follow SOLID, TDD, DI, etc. Of course, if your legacy code doesn’t contain… Read More »