2 ms·
That is the direction that Swift went: https://github.com/apple/swift-evolution/blob/main/proposals/0004-remove-pre-post-inc-decrement.md https://github.com/app
by conradev 3y ago
That is the direction that Swift went: https://github.com/apple/swift-evolution/blob/main/proposals/0004-remove-pre-post-inc-decrement.md https://github.com/apple/swift-evolution/blob/main/proposals...
- josephg 3y agoRust 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 https://go.dev/doc/faq#inc_dec