▲ 5 ▼ The operator ^ for exponentiation or for excluding: how not to confuse them? (pvs-studio.com) submitted 5 months ago by CodiUnicorn@programming.dev to c/golang@programming.dev 1 comment fedilink hide all child comments 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?
[–] I_quote_Seinfeld_a_lot@sh.itjust.works 2 points 5 months ago Is this just a desperate AI ad with a cheap call to action to increase engagement? permalink fedilink source
all 2 comments