DEV Community

Discussion on: Bit Hacking with Go

Collapse
 
vladimirvivien profile image
Vladimir Vivien

Hi Dieter,
Thanks for taking time to read and asking questions.

  • You are right, it is a typo, it should be &^ (thanks for catching that)
  • yes the AND and &^ have the same effect in some situations as you pointed out. Their usage will depend on context of what you want to achieve and which one makes the expression you are constructing easier.