Open mna opened 10 years ago
Please disallow it. 'b++' is an assignment. I find assignments within expressions difficult to read and wrap my brain around. When assignments are statements, it's easy to see the sequence of events. See http://golang.org/doc/faq#inc_dec.
Right now the compiler allows
a := b++
. Either disallow this notation, or make ++ and -- expressions (and then support prefix form too?)