Ok – I have someone I work with who has written somthing like this
if()
if()
if()
if()
if()
I dont like this!!
If there are ten different boolean flags how many combinations are there?
10 factorial?
I am trying to explain why this is bad
Two states per flag and 10 flags means 2^10 = 1024