News for hackers. Stuff that matters.
Re:Low Level Bit Hacks You Absolutely Must Know by dahfizz on Friday May 11, 2018 @11:12AM (#17047853)
Would you create a wrapper class and member function to make addition less likely to mistype?

num = num.plus(x);

might be less likely to mistype than

num = num + x;

but nobody would ever do that. Once you've done bitwise operators a few times they become just as comfortable and natural as addition or subtraction.

There are no comments on this comment yet.