If accessors are defined by the developer who designs a property behavior then 
I do not see them as keywords. Or am I wrong?

That is why I would prefer them lowerCamelCase. 


On May 20, 2016, at 1:50 PM, Chris Lattner via swift-evolution 
<[email protected]> wrote:

>> Thus, `willSet` and `didSet` should be capitalized like other, user-defined, 
>> accessors.
> 
> I agree with your believe that we should treat these just like user-defined 
> accessors.  So lets assume we had an “observed” behavior that had 
> didset/willset aspects that can be specified.  To the implementor of the 
> behavior, these are terms that they define, but to users of the behavior, 
> they are indistinguishable from keywords.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to