From fc12d2e5f33a8da682097f42390d6ef2e324347b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 8 Jul 2008 05:12:37 +0000 Subject: clarify :) llvm-svn: 53218 --- llvm/docs/CodingStandards.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'llvm/docs/CodingStandards.html') diff --git a/llvm/docs/CodingStandards.html b/llvm/docs/CodingStandards.html index a99e46e5b58..04ce54fde47 100644 --- a/llvm/docs/CodingStandards.html +++ b/llvm/docs/CodingStandards.html @@ -262,6 +262,18 @@ implements are defined.

like to print out code and look at your code in an xterm without resizing it.

+

The longer answer is that there must be some limit to the width of the code +in order to reasonably allow developers to have multiple files side-by-side in +windows on a modest display. If you are going to pick a width limit, it is +somewhat arbitrary but you might as well pick something standard. Going with +90 columns (for example) instead of 80 columns wouldn't add any significant +value and would be detrimental to printing out code. Also many other projects +have standardized on 80 columns, so some people have already configured their +editors for it (vs something else, like 90 columns).

+ +

This is one of many contentious issues in coding standards, but is not up +for debate.

+ -- cgit v1.2.3