Go Functional Use Cases
I like functions, especially higher-order ones and I think we often underestimate their power when working with Go. More often than not, we jump to creating a type and attaching a method to it when maybe a simple regular or higher-order function would do (standard library surely, makes use of this eg. http.HandlerFunc). I employ this approach often and I figured it wouldn’t hurt to share it. Where does this come from?...