> On Jul 28, 2017, at 5:41 PM, Vasco Alexandre da Silva Costa 
> <vasco.co...@gmail.com> wrote:
> 
> Sacrilege!
> *vasc hugs his The C Programming Language Book*

:)

For those wondering, this is what the bible says:
"In either case, we will always indent the statements controlled by the while 
by one tab stop (which we have shown as four spaces) so you can see at a glance 
which statements are inside the loop.  Although C compilers do not care about 
how a program looks, proper indentation and spacing are critical in making 
programs easy for people to read. We recommend writing only one statement per 
line, and using blanks around operators to clarify grouping. The position of 
braces is less important, although people hold passionate beliefs.”



Naturally, that was strong motivation for our guidelines.  HACKING already 
recommends one statement per line, spaces around operators, and 4-level 
indentation… and soon will enforce.  Ironically, K&R’s 4-char tabstops screw 
with / display wrong in other UNIX tools and was the motivation for mixed 
tabs+spaces.


Cheers!
Sean


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to