2 ms·
> ... using angle brackets, but we couldn’t figure out how to make that work in Go… Because Go has the ability that you can parse the syntax without knowing the
by tapirl 7y ago
> ... using angle brackets, but we couldn’t figure out how to make that work in Go… Because Go has the ability that you can parse the syntax without knowing the types of the names ...
This is not the first time I heard that keeping the parser simple is more important than others in Go design from Go core team. This might be good sometimes, but I think this will hurt user experience more often.
- Gibbon1 7y agoYou could argue that the trade offs are worth it. Compilers can be faster, auto format works, autocomplete, code snippets, merging etc.