<div class="gmail_quote">On Sat, Oct 10, 2009 at 11:56 AM, Steve Steiner (listsin) <span dir="ltr">&lt;<a href="mailto:listsin@integrateddevcorp.com">listsin@integrateddevcorp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><br><div><div><div></div><div class="h5"><div>On Oct 10, 2009, at 3:18 AM, Glyph Lefkowitz wrote:</div><blockquote type="cite"><div class="gmail_quote"><div>What &quot;weirdness&quot; are you referring to? <br>
</div></div></blockquote></div></div><div>I was just referring to the fact that the original document was not on the Twisted site so I was referring to it not being something someone else did with Twisted.</div></div></div>
</blockquote><div><br>Ah.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div><div>Much of the other code I&#39;m using follows PEP-8 naming_conventions for methods and such whereas Twisted follows the Twisted Coding Standard which is a more javaCamelCase style convention.</div>
</div></div></blockquote><div><br>For what it&#39;s worth, the Twisted coding standard pre-dates PEP-8 (In fact, I think it might even predate the whole PEP process). <br><br>Also, Java did not invent the convention of camel-case names.  My use of the convention in the early Twisted coding standard was a deliberate aping of Smalltalk&#39;s coding convention.  I realize a lot more people have seen Java written this way than ST, but nevertheless ST was my inspiration for many of Twisted&#39;s conventions, coding-standard and otherwise.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div><div>That particular documentation refers to &#39;backwards compatible&#39; functions using PEP-8 style attribute names while preferring the newer Twisted Coding Standard flavoured names.</div>
</div></div></blockquote></div><br>Yes, before code review was consistently applied throughout the codebase, we did have a few inconsistent names slip through.  Since then we&#39;ve tried to update them where we&#39;ve found them so everything is consistently in one style.<br>
<br>Making the right things show up in the right order in our API documentation is a constant challenge.  If you have any ideas for emphasizing the correct (i.e. non-&quot;backwards-compatibility&quot;) names, you might want to submit a patch to pydoctor and/or Twisted&#39;s docstrings.<br>