Follow

I was really surprised when I found out that Go has a `++` operator/statement. Why add an operator when you can write:
x = x + 1
What's mind-blowing is that you can even write:
x += 1
I thought I was joking until I saw github.com/golang/go/issues/21

· · Mastodon Twitter Crossposter · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

The original server operated by the Mastodon gGmbH non-profit