[swift-evolution] A (better) Swift Equivalent For The Classical For-Loop With Numeric Scalars

Patrick Gili gili.patrick.r at gili-labs.com
Sat Mar 19 13:06:11 CDT 2016


> On Mar 18, 2016, at 7:19 PM, Ted F.A. van Gaalen <tedvgiosdev at gmail.com> wrote:
> 
> On Chris’s advice, I’ve spawned this into a new discussion topic, for which the base could be
> part of what I wrote in relation to SE-0007. 
> 
> 
> Hello Patrick
> as I wrote: 
> As a result of removing the classical for loop it is to be expected that lot of people might consider thinking twice about switching to Swift, If they have to live without (or cumbersome work around) language elements that have proven to be very useful for at least a few decades...

There are two groups of people to consider:

1) OS X and iOS developers; this group is stuck with whatever the language brings them, for good or bad. If this group of people doesn't like a decision made by the community, they can grumble about it for awhile, suck in a deep breath, and move on.

2) Others; this group may be considering using Swift to develop software on other platforms and in other environments. If this group of people doesn't like a decision made by the community, they may think twice and it could significantly impact the uptake by this group of developers. I think it is wise that the community lubricate the transition to Swift as much as possible for this group of developers. I ask if leaving this kind of syntax in the language is so bad? Does it fall in the same category as removing function currying? My gut tells me not, but I could be wrong.

> 
> I also find it of the most importance to keep Swift accessible for all kinds of programmers
> from starters to academic. 
> 
> Graig Federighi said 
> We think it should be everywhere and used by everyone.
> 
> 
> I subscribe to that.
> 
> 
> -TedvG
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160319/de6303d1/attachment.html>


More information about the swift-evolution mailing list