<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Nov 18, 2010, at 5:18 PM, Argyrios Kyrtzidis wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">On Nov 18, 2010, at 9:58 AM, Zhanyong Wan (λx.x x) wrote:<br><br><blockquote type="cite">On Thu, Nov 18, 2010 at 9:56 AM, Ted Kremenek <<a href="mailto:kremenek@apple.com">kremenek@apple.com</a>> wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">On Nov 17, 2010, at 10:21 AM, Zhanyong Wan (λx.x x) wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">One question is when a function/variable name should start with a<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">lower-case letter ("Should I call it getLoc() or GetLoc()?").  Perhaps<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">we can leave it unspecified for now though.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This is actually one of those points I'd love to disambiguate, or at least make consistent.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Glad to hear, Ted!  What's the rule you have in mind regarding this?<br></blockquote><br>How about lower-case if it's a cheap operation (e.g a simple accessor) and upper if not ?<br><br>-Argiris</span></blockquote></div><br><div>IMHO that leads to the random coding conventions we have now.  :)</div><div><br></div><div>I personally prefer that functions/methods start with lower-case characters, and types start with upper-case letters.  I have to admit, however, that it isn't a convention I have strictly adopted in my own code, but wouldn't mind doing so.</div></body></html>