<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">-1 from me.<div class=""><br class=""></div><div class="">I’m in favour of the removal for several reasons:</div><div class=""><br class=""></div><div class=""><ul class="MailOutline"><li class="">In many cases I’ve seen these operators use, the number is really used as an index type so should be encouraged to use the advance(), predecessor() and successor() methods for clarity.</li><li class="">I’ve seen numerous cases of tricky to diagnose bugs arising from foo++ and foo— being used in function calls and conditionals where a developer has misunderstood what value will actually be tested.</li><li class="">I’ve likewise seen ++foo and —foo misused in conditionals, particularly when foo is also present in the same conditional (or a function call) and a developer has misunderstood what value each instance of foo will result in. Plus it can easy to misread and result in some really hard to parse code when it comes to maintenance.</li><li class="">I think it makes sense for all assignment operators to include an equals and follow the same basic format. While lots of other languages may have these prefix and suffix operators, I like the idea of trying to keep operators to a useful minimum as standard.</li><li class="">It’s fairly easy to just add them yourself if you really can’t part with them.</li></ul><div class=""><br class=""></div></div><div class="">Of course I’ve seen them used reasonably, but that’s mostly in things like loops where Swift provides a lot of good alternatives, plus the aforementioned index protocol. The rest of the time they’re often (in my experience) misused to create shorter, but not necessarily neater code, and can lead to a lot of silly, subtle errors.</div><div class=""><br class=""></div><div class="">That said I’m not hugely bothered either way (if they’re left in then I can just continue to not use them), but I think the reasoning for cutting them is sound.</div></body></html>