Refactoring Global State in C++: Enhancing Modularity and Testability | CodeSignal Learn