<div dir="ltr">Partial initializers + forwarding is in line with what I’ve been imagining as well. I look forward to seeing this fleshed out more.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Step Christopher<div>Big Nerd Ranch, LLC<br></div><div><a href="mailto:schristopher@bignerdranch.com" target="_blank">schristopher@bignerdranch.com</a></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Sun, Jan 10, 2016 at 3:28 PM, Matthew Johnson via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br><br>Sent from my iPhone</div><div><br>On Jan 10, 2016, at 11:20 AM, Thorsten Seitz <<a href="mailto:tseitz42@icloud.com" target="_blank">tseitz42@icloud.com</a>> wrote:<br><br></div><blockquote type="cite"><div>Unfortunately I’m in the wrong time zone: 8 pm CST means 3 am of the next day here in Europe and I’d rather not get up in the middle of the night :-)<div>Bad luck that today you have dads duty but that’s life and there are more important things than Swift evolution. I mean that sincerely, so don’t worry about it.<br><div><br><div>I hadn’t expected a full draft of your vision, I just had hoped for one or two lines to get an idea of your vision, no need to finish the draft for that. </div></div></div></div></blockquote><div><br></div><div>Hi Thorsten. I have time for a quick teaser. It may or may not mean much without the details so watch for those tonight / in the morning.</div><div><br></div><div>The general approach I plan to outline uses partial initializers, concise syntax for declaring memberwise partial initializers, a general parameter forwarding mechanism, and sugar for directly forwarding to a partial initializer. Obviously this is more than just one proposal.</div><div><br></div><div>There is a very clear and straightforward migration path from the current proposal to the general solution if the necessary features are accepted.</div><div><br></div><div>More on this later tonight.</div><div><br></div><div>Matthew</div><br><blockquote type="cite"><div><div><div><div>But I understand that now is a bad moment to send me something, so no worries. Have a nice day with your son!</div><div><div><br></div><div>-Thorsten</div><span class=""><div><br><div><blockquote type="cite"><div>Am 10.01.2016 um 16:35 schrieb Matthew Johnson <<a href="mailto:matthew@anandabits.com" target="_blank">matthew@anandabits.com</a>>:</div><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>On Jan 10, 2016, at 9:26 AM, Thorsten Seitz <<a href="mailto:tseitz42@icloud.com" target="_blank">tseitz42@icloud.com</a>> wrote:<br><br></div><blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>Hi Matthew,<div><br><div><blockquote type="cite"><div>Am 10.01.2016 um 15:03 schrieb Matthew Johnson <<a href="mailto:matthew@anandabits.com" target="_blank">matthew@anandabits.com</a>>:</div><div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><blockquote type="cite" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">On Jan 10, 2016, at 4:08 AM, Thorsten Seitz via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br><br><blockquote type="cite"><blockquote type="cite">Am 10.01.2016 um 10:37 schrieb Brent Royal-Gordon <<a href="mailto:brent@architechies.com" target="_blank">brent@architechies.com</a>>:</blockquote></blockquote><blockquote type="cite">But it seems to me that what we're going to end up with is that, instead of having this:<br><br> public init(members...: Members) {<br> self.members = members<br> }<br><br>We'll have something more like:<br><br> public init(members...: Members.Public.Initializable) {<br> self.members.public.initializable = members<br> }<br></blockquote><br>Yes, that’s just what I’m trying to find out: I do like the Members-based idea but wanted to get a clearer understanding how it might *really* unfold before casting my vote for the current proposal.<span> </span><br></blockquote><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I will be sharing my vision for a long-term direction later today or tomorrow. It allows us to accept this proposal as a step forward while still having a long-term path that relies on more general features, with a clean migration path when the more general features are ready. </span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"></div></blockquote><div><br></div>That sounds great! Would you mind sharing a sketch of your idea today just to get a rough feeling before the review ends?</div></div></div></blockquote><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">I would like to. I need a little bit more time to finish the drafts before sharing. I have dad duty on Sundays so I won't be able to do that until until my son goes to bed. I am hoping to be ready to share them by about 8 or 9 CST tonight. That still leaves a few hours while the review is open.</span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Matthew</div></div></blockquote></div><br></div></span></div></div></div></div></blockquote>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=FcqcGV1X8K7Vnxfj3w9H7RBvIFFHk0as3UHXRDc-2BSJvXkPSHQwybHHH4KJumYdZ7vLyNJrmbjZ1t9xEv2JpEyu29MoooS-2BawD4XvWRFfFJDyaUIiFYDK1r9gHYojLPGD-2BbOZ1goRhW-2B3kjaMjB7HTlS-2BcucfWfdzQlncKboygAEGCzg36p-2FhUgfAQa-2Bqz6vz7hRFIjz2N4FV5aKME-2FI1HkztsMryEsqrJIeh1Jk06PE-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
</div>
<br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>