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

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!