> On Apr 21, 2016, at 5:53 AM, Jeremy Pereira via swift-evolution 
> <[email protected]> wrote:
> 
> 
>> On 21 Apr 2016, at 02:14, Brent Royal-Gordon via swift-evolution 
>> <[email protected]> wrote:
>> 
>>> 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)
> 
> I have, but I always feel a tinge of guilt when I do it. I know I shouldn’t.
> 
> Fortunately, karma is satisfied because Xcode autocomplete punishes me by 
> always putting the capitalised version as the top choice.

Capitalized Self already exists in the language. This proposal extends the use 
to add consistency. Would you prefer to remove it entirely?

For example: 
http://stackoverflow.com/questions/27863810/swift-difference-between-self-and-self

-- E

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to