Exploring Go's type system as an OO programmer
I’ve been learning Go over the pandemic as a way to learn new things. One of the things that I’ve had the hardest time with has been Go’s type system.
As a traditionally object-oriented programmer, we talk a lot about type hierarchies: all things come from some root object class that the Compiler lies exists and eventually we get down into the brass tacks of real WidgetGrabbers and IGrabbableWidgets.
Coming from that background, the type system in Go feels awkard.…