[vlc-devel] code conventions : line width ?
Laurent Aimar
fenrir at via.ecp.fr
Fri Sep 12 11:03:33 CEST 2008
Hi,
On Fri, Sep 12, 2008, Rémi Denis-Courmont wrote:
> On Fri, 12 Sep 2008 09:30:14 +0200, Sébastien Escudier
> <sebastien-devel at celeos.eu> wrote:
> > I can't find maximum line width convention in source code.
> > http://wiki.videolan.org/Code_Conventions
> > This is not documented.
> > Is there an implicit rule?
>
> 79 characters not counting the newline character (yes, some places do not
> follow this).
I tend to dislike it as nowdays screen are much wider. It prevents using
variable with explicit names if you want to comply with it (otherwise you
end up using only a few words per line ;).
> That being noted I really dislike some of the conventions (Our Hungarian
> notation is sometimes harmful. The parenthesizing is insane for not
> matching what about every else agrees on).
I strongly disagree with you on both points.
--
fenrir
More information about the vlc-devel
mailing list