[swift-evolution] [Review] SE-0023 API Design Guidelines
David Owens II
david at owensd.io
Sat Jan 23 13:01:03 CST 2016
What about enums with associated data? Those really are like types. So do we capitalize those?
Unless those get redesigned, there is really this contrary feel to those and other enum cases.
Sent from my iPhone
> On Jan 23, 2016, at 10:49 AM, Joe Groff via swift-evolution <swift-evolution at swift.org> wrote:
>> On Jan 23, 2016, at 10:24 AM, Trent Nadeau <tanadeau at gmail.com> wrote:
>> I think it makes sense for enum cases to be UpperCamelCase as they can be thought of as scoped types (singleton types in the case of cases with no associated types).
> They aren't, though. I don't see much value in setting false expectations.
> swift-evolution mailing list
> swift-evolution at swift.org
More information about the swift-evolution