Hey Gophers! Does the spec guarantees the following program will always output "3 2"?
https://play.golang.org/p/InTOwJIPmD >From what I read [0] only evaluation order of expressions inside slice or map definitions or indexing on those values is unspecified? -- Rafal [0] https://golang.org/ref/spec#Order_of_evaluation, this part in particular: "However, the order of those events compared to the evaluation and indexing of x and the evaluation of y is not specified." -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.