[swift-evolution] End of source-breaking changes for Swift 3

Saagar Jha saagarjha28 at gmail.com
Thu Jul 28 17:21:12 CDT 2016


The reason C-style for loops were removed were because most of the time they could be represented by Swift syntax. Have you taken a look at stride(from:to:by:)?

Saagar Jha



> On Jul 28, 2016, at 15:08, Ted F.A. van Gaalen via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Hi Austin,
> 
> please read inline.
>> On 28.07.2016, at 23:47, Austin Zheng <austinzheng at gmail.com <mailto:austinzheng at gmail.com>> wrote:
>> 
>> 
>> 
>> On Thu, Jul 28, 2016 at 2:37 PM, Ted F.A. van Gaalen <tedvgiosdev at gmail.com <mailto:tedvgiosdev at gmail.com>> wrote:
>> Hi Austin, thank you, please see inline
>> ? 
>> I have explained this many times before, didn’t I? 
>> 
>> Its removal causes a very crucial limitation/change in the way 
>> one writes programs, So writing about this for;; subject is
>> very, very different from long discussions like those about 
>> allowing a comma at the end of a list or not…
>> because removing the for;; has a very heavy impact.
>> 
>> Furthermore, IMHO the decision to remove the for;; was based
>> on very subjective loose and partly irrelevant criteria.
>> 
>> 
>> I don't care how good your reasons are, the fact of the matter is that it was extensively discussed, a decision was made, and it is now a done deal.
> Napoleon said something similar when pushing his army towards Moscow...
>> Please remember that these are high-traffic lists that many people subscribe to; complaining about the C for loop is a waste of everybody's time.
> That’s your opinion.
>> At the very least, please respect the process and put together a proposal that we can all discuss,
> As written before, I will write the proposal after Swift 3.0 is released.
> If you are interested in bringing it back then you could help
> me with it.
>> instead of asking Chris or whoever to step in and make an exception because you don't like it.
> Yes, indeed, I am exceptionally asking to make an exception, to keep the for ;; in
> for the time being.
> 
> As concerning your “high traffic” notion, this is written material
> no doubt, the recipients are capable enough to put it aside for later
> if they’d wish to do so. 
> 
> Sorry, if you don’t like it.
> Thanks.
> TedvG
> 
> 
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org <mailto:swift-evolution at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-evolution <https://lists.swift.org/mailman/listinfo/swift-evolution>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160728/fe2e6f20/attachment.html>


More information about the swift-evolution mailing list