Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  15 Dec 2003, Stefan Ritt, , Poll about default indent style  
    Reply  18 Dec 2003, Paul Knowles, , Poll about default indent style  
       Reply  18 Dec 2003, Stefan Ritt, , Poll about default indent style  
          Reply  01 Jan 2004, Konstantin Olchanski, , Poll about default indent style  
    Reply  06 Jan 2004, Stefan Ritt, , Poll about default indent style  
Message ID: 76     Entry time: 18 Dec 2003     In reply to: 75     Reply to this: 77
Author: Stefan Ritt 
Topic:  
Subject: Poll about default indent style  
Hi Paul,

I agree with you that a nesting level of more than 4-5 is a bad thing, but I 
believe that throughout the midas code, this level is not exceeded (my poor 
mind also does not hold more than 5 things (;-) ). An indent level of 8 columns 
alone does hot force you too much in not extending the nesting level. I have 
seen code which does that, so there are nesting levels of 8 and more, which 
ends up that the code is smashed to the right side of the screen, where each 
statement is broken into many line since each line only holds 10 or 20 
characters. All the nice real estate on the left side of the scree is lost.

So having said that, I don't feel a strong need of giving up a "-i2", since the 
midas code does not contain deep nesting levels and hopefully will never have. 
In my opinion, a small indent level makes more use of your screen space, since 
you do not have a large white area at the left. A typical nesting level is 3-4, 
which causes already 32 blank charactes at the left, or 1/3 of your screen, 
just for nothing. It will lead to more lines (even with -l90), so people have 
to scroll more.

What do others think (Pierre, Konstantin, Renee) ?
ELOG V3.1.4-2e1708b5