Follow

It is not often I look at a snippet of code and marvel at it's simplicity. Curiosity led me to poke at the `sync.Once` type from the standard library. Love it!

golang.org/src/sync/once.go

I'm not sure why I expect complexity, magic and wizardry from the standard library. It's reassuring to learn it isn't all a dark art.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!