The D Style and tab sizes

BCS BCS at pathlink.com
Mon Sep 11 09:24:32 PDT 2006


Walter Bright wrote:
> Consider:
> 
>     foo();             // comment
>     bar + 4 *18 - foo();    // comment
> 
> Suppose \t's are used to line up the comments. There is no way to have 
> them stay lined up if the strides of \t's change.

          // comment
     foo();
          // comment
     bar + 4 *18 - foo();


never put '\t' after anything but a start of line.



More information about the Digitalmars-d mailing list