<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So you're saying we should prefer a future where it's an inconsistent mess?</blockquote><div>No. And please don't straw man. It's a very annoying argumentative tactic. I prefer a future where all caps aren't used. I understand that the change I propose won't magically transport us there, but I don't think it justifies encouraging all caps. As it is, the mix of all caps, camel-case, and snake-case IS and inconsistent and visual mess. Discouraging all caps will only result in a diminishing occurrence of all caps.<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">it's.more important to have a standard than what that standard is. And we do have a strong standard today.</blockquote><div>I understand that there's a barrier to change, but there's also a circular logic to resisting change because adhering to a standard is good.<br><br>How bad would it really be to remove the line about constants being all caps from PEP-8?</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 4, 2019 at 2:55 PM Anders Hovmöller <<a href="mailto:boxed@killingar.net">boxed@killingar.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="ltr"></div><div dir="ltr">So you're saying we should prefer a future where it's an inconsistent mess? I agree with you that the C standard is ugly but it's.more important to have a standard than what that standard is. And we do have a strong standard today. </div><div dir="ltr"><br></div><div dir="ltr">-1 from me</div><div dir="ltr"><br></div><div dir="ltr">/ Anders </div><div dir="ltr"><br>On 4 Jan 2019, at 20:01, Abe Dillon <<a href="mailto:abedillon@gmail.com" target="_blank">abedillon@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">I keep coming back to <a href="https://vimeo.com/74316116" target="_blank">this great video</a> about coding style, and one point in particular rings true to me: ALL_CAPS_IS_OBNOXIOUS<br><br>It destroys the visual flow of code and for what? To signify a global, constant, or Enum? Is that really so important? I don't think so. I think the all caps style has out-lived its usefulness and needs to go the way of the dodo.<br><br>The last time I saw all caps used appropriately was in a YouTube comment where some guy was ranting about the communist Jewish banker conspiracy to control the world. In that case, all caps clearly communicated to me that the person was a frothing lunatic (thought find the idea of communist bankers intriguing).<div><br></div><div>Currently PEP-8 <a href="https://www.python.org/dev/peps/pep-0008/#constants" target="_blank">prescribes all caps for constants</a> and uses the all cap variable "FILES" as an example in a <a href="https://www.python.org/dev/peps/pep-0008/#when-to-use-trailing-commas" target="_blank">different section.</a> It also appears to be the defacto-standard for enums (based on the <a href="https://docs.python.org/3/library/enum.html#creating-an-enum" target="_blank">documentation</a>)<br><br>I don't think it's necessary to make any breaking changes. Just pep-8 and (of less importance) spurious documentation examples.</div></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Python-ideas mailing list</span><br><span><a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a></span><br><span><a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a></span><br><span>Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/codeofconduct/</a></span><br></div></blockquote></div></blockquote></div>