[openstack-dev] Revisiting current column number limit in code

Zhongyue Luo zhongyue.nah at intel.com
Wed Oct 30 09:13:18 UTC 2013


This would be a nightmare to some people who work with xwindows disabled by
default. Not to mention going through code via console on a server.
On Oct 30, 2013 4:53 PM, "Roman Prykhodchenko" <rprikhodchenko at mirantis.com>
wrote:

> Hi there,
>
> Limiting the lines to 80 symbols makes viewing/editing/comparing two files
> on a single screen quite comfortable.
> This is not only useful for Vimers who do not use graphical IDEs but also
> makes debugging/troubleshooting easier when someone has a
> development/preproduction server(s) where you cannot basically use any IDE.
>
> If a line of code is complex enough to not fit 80 symbols I'd suggest
> simplifying the algorithm. Btw, some of displays can be turned for 90˚ so
> this might be a way to go with graphical IDEs :)
>
>
> - Roman
>
> On Oct 30, 2013, at 10:24 , Victor Sergeyev <vsergeyev at mirantis.com>
> wrote:
>
> By the way, pep8 says, that "it is okay to increase the nominal line
> length from 80 to 100 characters". See
> http://www.python.org/dev/peps/pep-0008/#maximum-line-length
>
> I'm ok with 80 characters, but just for information - is there any plans
> to to increase the line length in OpenStack?
>
> Victor
>
>
> On Wed, Oct 30, 2013 at 8:52 AM, Aaron Rosen <arosen at nicira.com> wrote:
>
>> Here's what mine usually looks like :)
>>
>> http://www.python.org/dev/peps/pep-0008/#maximum-line-length
>>
>>
>> On Tue, Oct 29, 2013 at 11:19 PM, Ravi Kumar Pasumarthy <
>> ravikup at thoughtworks.com> wrote:
>>
>>> Hello,
>>>
>>> Looks like the current column limit for the code base is 80. Because of
>>> this large space on the right hand side is not used. Please find the
>>> attached pictures of couple of developer screens working on openstack
>>> codebase.
>>>
>>> Are there any thoughts to increase the current column limit to 120
>>> atleast.
>>>
>>> How does this help ? I can see more lines of code, it is easier on the
>>> eyes. Some external monitors supports rotation, but for laptops we cannot
>>> rotate.
>>>
>>> So is it possible to revisit the column number limit ?
>>>
>>> Thanks,
>>> Ravi Kumar Pasumarthy
>>> Lead Consultant
>>>
>>> ThoughtWorks
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131030/c3cd010f/attachment.html>


More information about the OpenStack-dev mailing list