On Jun 6, 2017, at 10:55, Brent Royal-Gordon via swift-evolution
<[email protected] <mailto:[email protected]>> wrote:
>
>> On Jun 4, 2017, at 6:56 AM, Daryle Walker via swift-evolution
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>> in which at least one is dubious in value (#2, since a lot of times the
>> common type would be “Any”),
>
> Yes, the subscript would sometimes be `Any`, or `CustomStringConvertible`, or
> `AnyHashable`, or a combination like `AnyHashable & Codable`. So what? Even
> `Any` is a useful type sometimes.
FWIW, I made a similar comment in a similar thread, and IIRC the notion was
generally frowned upon.
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160208/009540.html
<https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160208/009540.html>
Perhaps optimizations made over the past — wow, 1.25 years — have addressed
Jordan’s concern about a “needless amount of extra work for the compiler”?
Also, I thought we’d decided this was out of scope for now? Am I thinking of
something else, or are we just talking about it anyway, for funsies?
- Dave Sweeris
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution