← Back to team overview

openerp-community team mailing list archive

Re: Coding Guidlines - long lines

 

Bonjour,

Serait il possible de ne plus n envoyer de Email de Open ERP Merci de votre
compréhension.

Bien à vous.


2013/11/16 Alexandre Fayolle <alexandre.fayolle@xxxxxxxxxxxxxx>

> As someone who regularly has to work on a laptop with a not gigantic
> screen, and with an eyesight which does not really give me the chance to
> configure the fontsize of my code editor to "ridiculously tiny", I'd
> really appreciate if we could stick to 79 cols as much as possible,
> which enables me to compare two buffers side by side.
>
> The source base of OpenERP is full of places where this width is
> exceeded and it makes the life of people working on 17" screens
> difficult for no good reasons imo.
>
> Code is meant to be read by humans, and chaining calls on lines does not
> improve readability.
>
> Kind regards,
>
> Alexandre
>
> On 15/11/2013 14:00, Quentin THEURET wrote:
> > Hello,
> >
> > Le ven. 15 nov. 2013 13:53:19 CET, Pedro Manuel Baeza Romero a écrit :
> >> I remember a discussion in this way, taking the decission of stay in 79
> >> chars, but correct me if I am wrong.
> > I don't remember a taken decsion of stay in 79 chars, but, IMHO, it is
> > more simpler to check the PEP8 compliance of the code by using already
> > existing tools. These tools are configured (by default) with 79 chars
> > as line length.
> >
> > So, the rule of 79 chars by line is IMO the best.
> >
> > But, I think we should take a decision about that to clarify the
> > situation.
> >
> > Regards,
> > --
> > Quentin THEURET
> >
> > TeMPO Consulting
> > 9, rue du Parc
> > 67205 Oberhausbergen
> > France
> >
> > http://www.tempo-consulting.fr
> > Tel : +33 3 88 56 82 18
> > Fax : +33 3 88 56 46 64
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openerp-community
> > Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openerp-community
> > More help   : https://help.launchpad.net/ListHelp
>
>
> --
> Alexandre Fayolle
> Chef de Projet
> Tel : + 33 (0)4 79 26 57 94
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac Cedex
> http://www.camptocamp.com
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>

References