Let's dive right into bitwise operators. If you need to operate on numbers of other bases, you first have to convert them to binary. You may come across different prefixes that denote different bases. It is supposed to tell you what base the number i...

Markdown supported · ⌘↵ to post
Nice article 💯 A little bitwise trick…
// swap a and b without an extra variable a = a ^ b b = a ^ b a = a ^ b
Try it.
Clifford Mapesa
Software Engineer
Great article!