[swift-evolution] [Review] SE-0068: Expanding Swift Self to class members and value types

Brent Royal-Gordon brent at architechies.com
Wed Apr 20 20:14:32 CDT 2016


> 1) “Self" differs from “self” by just the first letter being capitalized. Regardless of case, it is confusing for the terms “self” or “Self” or “SELF” to mean different things from within the same context.

What, you've never done things like this?

let page = Page()
let document = Document(pages: [page])

let account = Account(oAuthToken: token)
account.addDocument(document)

-- 
Brent Royal-Gordon
Sent from my iPhone

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160420/9b80ef7e/attachment.html>


More information about the swift-evolution mailing list