[swift-evolution] a few initializer proposals

Mike Kluev mike.kluev at gmail.com
Thu Jun 22 16:05:28 CDT 2017


On 22 June 2017 at 02:46, Jon Shier <jon at jonshier.com> wrote:

1 can already be accomplished by moving the custom initializer into an
> extension.
>

it can indeed. although if you need to create an extension just for this
purpose it feels like a workaround, takes more lines and is less obvious,
imho. plus if #3 is accepted (the same construct for classes) it would be
more consistent to have it in structs as well.

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170623/8e3137e2/attachment.html>


More information about the swift-evolution mailing list