Using ": class" always felt wrong for me — but only because of the convention that type names should start uppercase: What is wrong with "Class" instead of "AnyObject"? Object is a very broad term, and it isn't that uncommon to use it for all kinds of entities (not only reference types). And what if we ever decide that restricting protocols to structs or enums should be allowed as well? Or maybe there are secret plans to add new reference types to Swift? ;-) _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
Re: [swift-evolution] [Review] SE-0156: Class and Subtype existentials
Tino Heth via swift-evolution Fri, 03 Mar 2017 06:24:09 -0800
- Re: [swift-evolution] [Review] SE-... Christopher Kornher via swift-evolution
- Re: [swift-evolution] [Review... David Hart via swift-evolution
- Re: [swift-evolution] [Review] SE-... Adrian Zubarev via swift-evolution
- Re: [swift-evolution] [swit-evolut... Kevin Nattinger via swift-evolution
- Re: [swift-evolution] [swift-evolu... Brent Royal-Gordon via swift-evolution
- Re: [swift-evolution] [swift-... Matthew Johnson via swift-evolution
- Re: [swift-evolution] [sw... David Hart via swift-evolution
- Re: [swift-evolution]... Matthew Johnson via swift-evolution
- Re: [swift-evolut... David Hart via swift-evolution
- Re: [swift-evolution] [sw... Hooman Mehr via swift-evolution
- Re: [swift-evolution] [Review] SE-... Tino Heth via swift-evolution
- Re: [swift-evolution] [Review... Adrian Zubarev via swift-evolution
- Re: [swift-evolution] [Re... T.J. Usiyan via swift-evolution
