<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 23, 2016, at 2:12 AM, Marc Knaup via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">What is the rationale behind naming enumeration cases in upper camel case?<div class=""><br class=""></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px" class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><strong style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,Verdana,sans-serif;line-height:27px" class="">Follow case conventions:</strong><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,Verdana,sans-serif;line-height:27px" class=""> </span><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,Verdana,sans-serif;line-height:27px" class="">names of types, protocols and enum cases are</span><code class="" style="line-height: 27px; white-space: nowrap; font-family: Menlo, Consolas, Monaco, 'Courier New', monospace, serif; padding: 3px 8px; border: 1px solid rgb(229, 229, 229); background-color: rgb(247, 247, 247);">UpperCamelCase</code><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,Verdana,sans-serif;line-height:27px" class="">. Everything else is</span><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,Verdana,sans-serif;line-height:27px" class=""> </span><code class="" style="line-height: 27px; white-space: nowrap; font-family: Menlo, Consolas, Monaco, 'Courier New', monospace, serif; padding: 3px 8px; border: 1px solid rgb(229, 229, 229); background-color: rgb(247, 247, 247);">lowerCamelCase</code><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,Verdana,sans-serif;line-height:27px" class="">.</span></blockquote></blockquote><div class=""><br class=""></div><div class=""><font face="monospace, monospace" class="">let a = NSComparisonResult.OrderedSame // refers to a value, but is upper-case</font></div><div class=""><font face="monospace, monospace" class="">let b = NSDate.distantFuture // refers to a property/value, but is lower-case</font></div><div class=""><ul class=""><li class="">everything related to types (type names, protocol names, generic type parameter names) should be upper camel case</li><li class="">everything else (function names, property names, variable names, etc.) should be lower camel case<br class=""></li></ul></div><div class="">This is already the current and the proposed recommendation with enumeration cases being the only exception.</div><div class="">Enumeration cases are not types.</div></div></div></blockquote><br class=""></div><div>I agree. It would make enum cases feel more consistent with the rest of the language to make them lowerCamelCase.</div><div><br class=""></div><div>-Joe</div><br class=""></body></html>