Gophers, hey. Confusing ^ with exponentiation instead of XOR in Go seems like a pretty easy mistake to make. The bug itself is simple, but it still shows up even in some well-known projects with large codebases.

How often does this happen in your code?

all 2 comments

sorted by: hot top controversial new old

Is this just a desperate AI ad with a cheap call to action to increase engagement?

  • source
  • [+] 1 point 5 months ago