[swift-evolution] [Review] SE-0018 Flexible Memberwise Initialization
Brent Royal-Gordon
brent at architechies.com
Sun Jan 10 03:37:19 CST 2016
> On Jan 10, 2016, at 1:17 AM, Thorsten Seitz <tseitz42 at icloud.com> wrote:
> Yeah. Still brainstorming here :-)
So you know, I didn't really mean to put you specifically on the spot here; you're obviously trying to find concrete solutions to these problems. But it seems to me that what we're going to end up with is that, instead of having this:
public init(members...: Members) {
self.members = members
}
We'll have something more like:
public init(members...: Members.Public.Initializable) {
self.members.public.initializable = members
}
Which looks a whole lot worse than the original when you compare it to this proposal's:
public memberwise init(...) {}
--
Brent Royal-Gordon
Architechies
More information about the swift-evolution
mailing list