[swift-evolution] [Further Discussion] Naming Attributes

David Waite david at alkaline-solutions.com
Sun Feb 21 18:15:04 CST 2016


There was discussion about having property behaviors be addressable via @ as well,

self.state at lazy.reset() or the like

I would imagine the ability to namespace attributes would impact this?

-DW

> On Feb 19, 2016, at 2:04 PM, Joe Groff via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Once we open the floodgates for user-defined attributes, I think traditional namespacing and name lookup makes a lot of sense. We could conceptually namespace the existing hardcoded attributes into appropriate modules (Swift for the platform-neutral stuff, Foundation/AppKit/UIKit as appropriate for Appley stuff); name collisions would hopefully be rare enough that "@Swift.AutoClosure" or whatever hopefully won't often be necessary.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160221/c9a3fad3/attachment.html>
-------------- 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/20160221/c9a3fad3/attachment.p7s>


More information about the swift-evolution mailing list