Coding Style

Tim Flink tflink at redhat.com
Wed Jun 4 03:33:21 UTC 2014


On Tue, 3 Jun 2014 09:44:42 -0400 (EDT)
Kamil Paral <kparal at redhat.com> wrote:

> > How about:
> > 
> >   [FORMAT]
> >   # Maximum number of characters on a single line.
> >   max-line-length=100
> > 
> > /me has no problem with 80 chars, but most of my monitors can
> > easily handle two 100-char on one vertically split-view in vim (and
> > 80 chars is sometimes quite a pain)
> 
> Traitor!
> 
> I can't really fit 100 columns my in favorite python editor (Spyder)
> on my 12-inch screen that I use when working from bed^H^H^Hhome. I
> can fit 74 columns by default, or 90 columns if I configure the
> widget layout in a sub-optimal way.
> 
> But if there's a strong desire for more columns, I'll manage. Can't
> hinder the team, can I? :)

It amuses me that you're strongly "80 columns only" for code but are
pretty anti-column-width-restriction on email :)

In general, I'm fine with the 80 column restriction on code but I'd
like it not to be an absolute restriction. There are just somethings
that end up being more readable with relaxed column width guidelines
(some strings, hyperlinks etc.).

Would you be OK with ignoring some longer lines assuming that we have a
tool that can ignore those violations in a sane way?

Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/qa-devel/attachments/20140603/b7901670/attachment.sig>


More information about the qa-devel mailing list