Builder Design Pattern and Cyclomatic Complexity Reduction

In this post, I will explain in detail how I used the builder design pattern together with the bit mask field technique to reduce complexity. As a result, I decreased the cyclomatic complexity from 24 to 0 and reduced development time from hours to minutes.

The rest of this post is organized as follows sections:

All the examples shown here are in C++.

[Read More]