Using Maps for Fun and Profit in C++
Some recent refactoring adventurers cleaning up if/thens into maps.
![](https://drlongnecker.com/img/2023/10/maps-for-fun-and-profit.png)
I’ve been working on a new release for a game server I operate on the side and, with any new release, comes
opportunities to weep at refactor your older code.