> With type information, this is possible to disambiguate, but the goal of the parser is to not require type information.
Why?
It looks like a pretense at purity for the sake of purity.
Why?
It looks like a pretense at purity for the sake of purity.
EDIT: Apologies, after a bit I realized the above is a bad comment.
Separation of concerns is a common pattern in programming. It allows for things to be testable and changes to be more localized. This is an example of that.
If one of Go's aims was to make different trade-offs than [C++][1] did, then the choice not to use "<" as a grouping operator was a good one.
if you go (ah!) far enough on the other direction, you end up with 'template typename' soup.
Allowing ambiguity isn't just a style decision, it pushes error detection later, where you have enough info that it's no longer ambiguous.