Image for post
Image for post

As many Go-developers, I also often wished for generics. It’s not like I need them everyday, but occassionally, when writing libs and/or dealing with data structures, or when trying to solve something just a little more elegantly… I really want them.

So when reading I was thrilled that the proposal keeps getting refined and clearer ( also happy about the contract idea being dropped ).

So I actually went and gave it a try. So here I will tell you about a problem I just encountered literally a week ago, and how I solved it back then. …

Michael Ernst

Programmer with passion, husband, dad (passion also involved with these)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store