Y
Hacker News
new
|
ask
|
show
|
jobs
by
conradev
814 days ago
That is the direction that Swift went:
https://github.com/apple/swift-evolution/blob/main/proposals...
1 comments
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
link
https://go.dev/doc/faq#inc_dec