[llvm-commits] [llvm] r53218 - /llvm/trunk/docs/CodingStandards.html

Chris Lattner sabre at nondot.org
Mon Jul 7 22:12:49 PDT 2008


Author: lattner
Date: Tue Jul  8 00:12:37 2008
New Revision: 53218

URL: http://llvm.org/viewvc/llvm-project?rev=53218&view=rev
Log:
clarify :)

Modified:
    llvm/trunk/docs/CodingStandards.html

Modified: llvm/trunk/docs/CodingStandards.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.html?rev=53218&r1=53217&r2=53218&view=diff

==============================================================================
--- llvm/trunk/docs/CodingStandards.html (original)
+++ llvm/trunk/docs/CodingStandards.html Tue Jul  8 00:12:37 2008
@@ -262,6 +262,18 @@
 like to print out code and look at your code in an xterm without resizing
 it.</p>
 
+<p>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).</p>
+
+<p>This is one of many contentious issues in coding standards, but is not up
+for debate.</p>
+
 </div>
 
 <!-- _______________________________________________________________________ -->





More information about the llvm-commits mailing list