[swift-evolution] Proposal: Introduce User-defined "Dynamic Member Lookup" Types

Nevin Brackett-Rozinsky nevin.brackettrozinsky at gmail.com
Sat Dec 2 22:58:37 CST 2017


I have no input on whether or not this dynamism should be added to Swift.

However, *if* we add it, then I strongly prefer that dynamic member lookup
should use the exact same syntax as static member lookup, namely a single
dot. Member lookup is member lookup, the user-facing behavior is the same
is both cases, and we should present a single coherent experience with
maximum elegance and simplicity.

Nevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171202/4bf42dc9/attachment.html>


More information about the swift-evolution mailing list