[Nfd-dev] code-style: line width

Davide Pesavento davide.pesavento at lip6.fr
Fri Feb 27 16:59:11 PST 2015

As a hard limit, 130 sounds acceptable to me. Although if you're doing
side-by-side diffs/merges, or editing in two vertically-split panes,
130 is way too much. Therefore I think we should still encourage
staying below 100 columns (or even 80), unless line wrapping in that
point makes the code really harder to read.


On Sat, Feb 28, 2015 at 1:33 AM, Junxiao Shi
<shijunxiao at email.arizona.edu> wrote:
> Dear folks
> ndn-cxx code style currently states that line width SHOULD be limited to 100
> columns.
> This matter has been disputed in several recent code reviews.
> Sometimes I'm also struggling to satisfy this requirement.
> I suggest amending the rule to set 130 columns as a hard limit.
> 132 columns is a common terminal width, but two columns should be reserved
> for 'diff'.
> What do others on this mailing list think?
> Yours, Junxiao
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev

More information about the Nfd-dev mailing list