3 ms·
You can improve the non-method syntax slightly by using option.Map in Go style. But it still isn't as nice as a method. I think type parameters of methods will
by whateveracct 6y ago
You can improve the non-method syntax slightly by using option.Map in Go style. But it still isn't as nice as a method.
I think type parameters of methods will definitely get added since it's so standard and if anything more confusing to not have them.
- peter_l_downs 6y agoYeah, it's a little nicer that way, but methods would be ideal IMO.