I did a quick search and couldn't find any official sources to back OP but if anyone could I'd love to read them.What is it being replace with? X = X +1
I don't see the logic of this, why would they end this, it's been a standard for years now. Can you cite a source?
Really? Wow. I know it's a shorthand that can be done with X = X + 1, but it really doesn't seem that complex. Not to mention people coming from other languages.It's an added complexity that offers no benefit. Optionals are an added complexity that offer a significant benefit.
Admittedly it's not a difficult concept to understand, but complexity is complexity, and if you are a newcomer to the language, it's one more thing to learn - An extra page in the textbook, an extra lesson, an extra example project, and no additional capability gained.
I don't follow it too closely, but I think it's a done deal. The author of that proposal is Chris Lattner, who heads the Swift development, and it says accepted at the top.
The For-Next loops are going to look odd
Wow, I can't even imagine what they'd replace the For-Next with.Yep, it's been in the pipeline since before Swift went open source. I don't particularly care since those operators were messily integrated into Swift and therefore I seldom used them.
I hate to tell you this, but there's a proposal to depreciate that method of looping, too.
The OP made it seem like this had already happened (note the past tense in the thread title). @grandM, care to explain yourself?