Hacker News new | ask | show | jobs
by j1elo 867 days ago
I think a useful iteration of that pattern is one called Functional Options:

* https://dave.cheney.net/2014/10/17/functional-options-for-fr...

* https://github.com/uber-go/guide/blob/master/style.md#functi...