> On Mar 19, 2017, at 2:51 PM, Jean-Daniel via swift-evolution 
> <[email protected]> wrote:
> 
>> Le 19 mars 2017 à 16:41, Ricardo Parada via swift-evolution 
>> <[email protected] <mailto:[email protected]>> a écrit :
>> 
>> I agree that they can get mixed up with static properties. However, I think 
>> I would not mind because it would only cause an ambiguity when having a 
>> static property with the same name as the property which would be an odd 
>> practice I think.  
> 
> I disagree. How the reader is supposed to now there is a static property or 
> not ? Having readable code is more important than having easy to write code.

I’ve got to agree with this. With the proposed syntax, it’s unclear whether 
you’re referring to a static property or a key path. It’s going to cause 
confusion. There needs to be some kind of syntactic way to differentiate the 
two.

Charles

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

Reply via email to