[swift-evolution] Proposal: helpers for initializing properties of same name as parameters
David Waite
david at alkaline-solutions.com
Sat Dec 5 20:58:20 CST 2015
There is also a set keyword in the language already, although today its use is limited such that it may still be used as an identifier in non-conflicting contexts.
-DW
> On Dec 5, 2015, at 7:51 PM, Brent Royal-Gordon <brent at architechies.com> wrote:
>
>> I don’t believe any more so than for let or var, which this effectively is a complement for.
>
> There is no Let or Var type in the standard library, but there is a Set type. “Set” has many meanings, and some of them are relatively likely to be used as parameter keywords.
>
> --
> Brent Royal-Gordon
> Architechies
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4139 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151205/08428331/attachment.p7s>
More information about the swift-evolution
mailing list