unexpected-go

Unexpected Golang behaviors

View on GitHub

This small site is oriented to developers learning golang that want to see the unexpected, at least for a newcomer, behaviors in the language.

This examples expect that reader is familiar with the language, if you’re not familiar with it, you should complete the Go by Example tutorial.

Examples

The WIP list of examples is (with no specific order):

Grab some popcorn

Unexpected gopher

Disclaimer

This examples are not trying to prove that golang is wrong, it’s just sharing stuff that someone who has just started learning the language doesn’t expect.

Outdated / fixed items

These items have been updated, fixed or changed in the language, but are kept here for historical reasons: