Hacker News new | ask | show | jobs
by josephg 814 days ago
Rust and Go made the same choice. In Go, I think i++ is valid - but only as a statement, not an expression.

https://go.dev/doc/faq#inc_dec