[swift-evolution] Then Support

Erica Sadun erica at ericasadun.com
Mon Jan 4 09:24:44 CST 2016

This idea probably deserves more attention than it's going to get with this pitch for two reasons:

First, the Swift-Evolution list is heavily trafficked and you've given no context in either your subject line or your message about what "then" is and why it would be valuable to the Swift programming language. It is a Cocoapod that introduces "syntactic sugar for Swift initializers", that is extended initialization steps to support Cocoa set-up beyond the Apple-supplied inits. This is the same $0-delimited approach that has evolved spontaneously from a variety of developers.

Second, similar ideas have already been pitched and discussed on-list under the topics of method cascading, extended initialization, and so forth. You can search the Swift Evolution Archies on 

Google (use site:https://lists.swift.org/pipermail/swift-evolution/ <http://lists.swift.org/pipermail/swift-evolution/> in your search, e.g. https://www.google.com/?gws_rd=ssl#q=cascad+site:https:%2F%2Flists.swift.org%2Fpipermail%2Fswift-evolution%2F <https://www.google.com/?gws_rd=ssl#q=cascad+site:https://lists.swift.org/pipermail/swift-evolution/>) or 
gmane (e.g. http://search.gmane.org/?query=cascad&author=&group=gmane.comp.lang.swift.evolution&sort=relevance&DEFAULTOP=and&xP=Zcascad&xFILTERS=Gcomp.lang.swift.evolution---A <http://search.gmane.org/?query=cascad&author=&group=gmane.comp.lang.swift.evolution&sort=relevance&DEFAULTOP=and&xP=Zcascad&xFILTERS=Gcomp.lang.swift.evolution---A>)

A proposal on adding Dart-like cascades with Swifter-syntax stalled. Old proposal here: https://gist.github.com/erica/eb32feb22ba99629285a <https://gist.github.com/erica/eb32feb22ba99629285a> Bug report here: https://bugs.swift.org/browse/SR-160 <https://bugs.swift.org/browse/SR-160>

The topic appears to be a popular one and well liked. I understand its best timeframe for discussion will be in about a year as it is unlikely to be addressed in Swift 3.0, although you should probably ask an Apple team member rather than a general bystander like myself. 

Best regards, -- Erica

> On Jan 4, 2016, at 6:58 AM, James Campbell via swift-evolution <swift-evolution at swift.org> wrote:
> I was wondering if this should be part of the stdlib
> https://cocoapods.org/pods/Then <https://cocoapods.org/pods/Then>
> -- 
>  Wizard
> james at supmenow.com <mailto:james at supmenow.com>
> +44 7523 279 698
>  _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160104/204b0a1c/attachment-0001.html>

More information about the swift-evolution mailing list