Skip to content

2018

Shine on you crazy interface

Go's interfaces are brilliant. It's not immediately apparent and at first can be confusing, but after a while its brilliance shines through.

TL;DR - if a concrete type has the necessary behavior (methods) to satisfy an interface, it can implicitly implement that interface.