3 ms·
This is really bike-shed-y, but: I'm disappointed they didn't go with «» or similar to set apart type parameters. The answer in the doc is that they "couldn't
by dnr 7y ago
This is really bike-shed-y, but:
I'm disappointed they didn't go with «» or similar to set apart type parameters. The answer in the doc is that they "couldn't bring ourselves to require non-ascii", but there's an easy way to handle this without _requiring_ non-ascii characters: let "(type …)" and "«…»" be syntactically identical, and have gofmt change the former to the latter. Basically everyone uses gofmt all the time, so all the code everyone reads would use the more visually distinctive syntax, but it would be easy to type using ascii only.