4 ms·
This is just syntax, but I'm curious about the decision to go with regular parens for supplying type parameters, rather than the familiar angle brackets, or per
by skybrian 8y ago
This is just syntax, but I'm curious about the decision to go with regular parens for supplying type parameters, rather than the familiar angle brackets, or perhaps Julia's choice of curly brackets?
- gameswithgo 8y agoangle brackets may be harder to parse, remember that compile times are an important go feature.
- yiyus 8y agoRead the document: https://go.googlesource.com/proposal/+/master/design/go2draft-contracts.md#why-not-use-like-c_and-java https://go.googlesource.com/proposal/+/master/design/go2draf...