Even though defining conditions in code is one of the programming basics, developers didn’t use the old switch statements often because this feature was quite constrained in its capabilities. This is ...