I've been programming about 40 years (GAK!) and still have not gotten used to the rather 'formal' definitions like uint32_t (which I 'get' while that is useful) but I'm still wondering about the rather arcane bit-math syntax: 1<<2 or 3&2>>4.... and so on & on that seems to be de rigueur. Surely very FACTUAL - but not very darn readable!
What is so bad about using bitClear(), bitSet() and the similarly defined bit functions. They do seem to convey the desired operation more clearly - what advantages do the << and >> style syntax offer?
What is so bad about using bitClear(), bitSet() and the similarly defined bit functions. They do seem to convey the desired operation more clearly - what advantages do the << and >> style syntax offer?