[swift-evolution] [Review] SE-0018 Flexible Memberwise Initialization

Matt Whiteside mwhiteside.dev at gmail.com
Fri Jan 8 00:27:57 CST 2016


> On Jan 7, 2016, at 10:28, Joe Groff via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> Are there compelling reasons to go down this road rather than the current proposal?  What use cases does it address that the current proposal does not?
> 
> I find this approach interesting because it enables the easy implementation of at least most memberwise initializers, using more generally useful language features I think we are going to eventually want for argument forwarding and compile-time metaprogramming anyway. If we had already had these features, would you still have been compelled to write your proposal?
> 
> -Joe

I appreciate the thought that went into this memberwise-init proposal, and I’m in favor of eliminating boilerplate.  However, the possibility that this functionality maybe addressed by generics, even if it’s only 75% addressed, makes me want to revisit this topic after generics are further along.

Matt


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


More information about the swift-evolution mailing list