miniblog.
← Back to all posts
Wilfred Hughes
Jun 12, 2017 at 17:48
https://dave.cheney.net/2017/06/11/go-without-package-scoped-variables
Interesting exploration of avoiding all global state. Perhaps main() should take stdin, stdout and stderr as args?
Go, without package scoped variables | Dave Cheney