[swift-evolution] [Proposal] Partial initializers

David Owens II david at owensd.io
Fri Jan 15 22:12:29 CST 2016


I like the updates. I think the distinction between partial inits and init functions is extremely subtle. The only difference is that partial init can set `let` members, correct?

The only feedback I really have is that this makes the initialization rules even more complicated. I don't know how to address that though. =)

-David


> On Jan 14, 2016, at 8:08 PM, Matthew Johnson via swift-evolution <swift-evolution at swift.org> wrote:
> 
> I have completed the second draft of my partial initializers proposal (the first really complete draft). 
> 
> This proposal also includes some discussion of memberwise initialization at John McCall’s request.  If anyone would like to continue discussing that topic informally I will be happy to do so, however any such discussion should happen on one of the existing memberwise initialization threads or on a new thread related to that topic.  Please do not let that section of the document be a distraction from the partial initializer proposal itself.
> 
> The new draft can be found here:
> 
> https://github.com/anandabits/swift-evolution/blob/partial-initializers/proposals/NNNN-partial-initializers.md <https://github.com/anandabits/swift-evolution/blob/partial-initializers/proposals/NNNN-partial-initializers.md>
> 
> I really appreciate any feedback you have!
> 
> -Matthew
> 
> _______________________________________________
> 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/20160115/4eb86c11/attachment.html>


More information about the swift-evolution mailing list