[swift-evolution] [Pitch] Adding a Self type name shortcut for static member access
tseitz42 at icloud.com
Wed Apr 27 15:26:46 CDT 2016
> Am 27.04.2016 um 22:00 schrieb Erica Sadun <erica at ericasadun.com>:
>> On Apr 27, 2016, at 1:51 PM, Thorsten Seitz via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> So, you are probably right that Self does not make sense in value types.
> I courteously disagree for the reasons stated in the proposal:
> * Self introduces consistency across types
> * It’s succinct and clear, enhancing readability
> It may not be especially expressive in value types but I believe it remains valuable, which is a different question.
Oops, you are right, of course. Too tired, should catch some sleep now...
> Regardless, I believe this proposal will be delayed until the question of `Type.self` vs `Type` is first ironed out as some of the design details are predicated on how that is treated.
> best regards,
> — E
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution