Re:Reusable and type-safe options for Go APIs
by eikenberry on Sunday October 22, 2017 @03:29PM
(#15528467)
How is it cleaner and simpler? It reads about the same to me.
[ Parent
| on HN ]
Re:Reusable and type-safe options for Go APIs
by cormacrelf on Monday October 23, 2017 @05:50AM
(#15531937)
It's cleaner because you can't pass invalid options, they won't compile.