re: Using Bitwise Operators: Why Waste Space Use Many Bits When Few Bits Do Trick? VIEW POST


I agree with the title. With one 32 bit number, I can have a function that has up to 32 option flags as an input parameter passed in one single number, without having to create an object with 32 names and values. Maybe because of my ARM and x86 assembler way of thinking :-)

Code of Conduct Report abuse