4 ms·
It helps me visually understand and debug bitwise operations. I suppose you could also compare inputs and outputs by printing the resulting integer as binary te
by brianshaler 11y ago
It helps me visually understand and debug bitwise operations. I suppose you could also compare inputs and outputs by printing the resulting integer as binary text, but I've always just used my hands.
It can also be nifty for ASCII conversions, as letters A-Z and a-z are the numbers 0-26, but with different prefixes (010 and 011 accordingly). This means you can read people's binary tattoos.