[swift-evolution] Swift case conventions for Enums
dabrahams at apple.com
Mon Dec 21 20:38:17 CST 2015
> On Dec 21, 2015, at 3:58 PM, Michael Wells via swift-evolution <swift-evolution at swift.org> wrote:
> I love that Swift has a published API design guidelines at https://swift.org/documentation/api-design-guidelines.html <https://swift.org/documentation/api-design-guidelines.html>, but one thing about it bugs me: the use of UpperCamelCase for cases. I know this ship has long sailed,
It has not sailed at all. This is totally open for discussion.
> but why didn't the team choose lowerCamelCase for these? The current style seems inconsistent and requires an “instances are lowerCamelCase, aside from Enums” clarification.
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution