[swift-evolution] Smart KeyPaths

Ricardo Parada rparada at mac.com
Thu Mar 30 10:55:41 CDT 2017


> On Mar 30, 2017, at 9:54 AM, Haravikk via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Personally I'd prefer the use of a leading dollar sign for this, for example:
> 
> 	$Person.friend.lastName

That looks clean.  I don't think it could get confused with referencing named tuples because the type begins with uppercase.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170330/6c7a3bc3/attachment.html>


More information about the swift-evolution mailing list