(please reply to the list, so others with a similar question can find
this thread.)
I'm sorry, I should have made it clear: for me it's hard to parse the question.
I'll try again: could you please write 1 working example in
play.golang.org with the assumed precedence rules?
If you could share a li
Could you please give 2 examples, where the results depend on the
precedence? Maybe on play.golang.org ?
Maybe this also helps: https://golang.org/ref/spec#Operators
On 12/14/18, 伊藤和也 wrote:
> Can I say the precedence of paretheses are lower than unary operators and
> higher than binary operators
On Fri, Dec 14, 2018 at 7:45 AM 伊藤和也 wrote:
> Can I say the precedence of paretheses are lower than unary operators and
higher than binary operators.
As parenthesis are not operators they have no operator precedence. But see:
https://golang.org/ref/spec#Order_of_evaluation
Explicit parenth
Can I say the precedence of paretheses are lower than unary operators and
higher than binary operators.
unary operators (high)
↑
parentheses ↑
↑
binary operators (low)
--
You received this message because you are subscribed to the Google Groups
"golang-nu