[Python-ideas] 80 character line width vs. something wider

Curt Hagenlocher curt at hagenlocher.org
Tue May 19 21:29:47 CEST 2009


On Tue, May 19, 2009 at 10:45 AM, MRAB <google at mrabarnett.plus.com> wrote:
>>
>> I'd like to see an example of your variable names. I don't use
>> hungarian notation and my name are usually under 10 characters.
>
> IMHO, the names should be long enough to be meaningful but not too long.

You can't always control the names you're working with. In our case,
we're writing .NET-based code that uses a lot types originally defined
in C#. The standard in C#-land tends to be much more verbose than in
Python, and definitely presents some challenges when trying to keep
lines under 80 chars. I imagine that Jython code has a similar issue
when interoperating with Java.

--
Curt Hagenlocher
curt at hagenlocher.org


More information about the Python-ideas mailing list