[vtk-developers] style : Holiday greetings and a present of V TK4.0

Sebastien BARRE sebastien at barre.nom.fr
Fri May 25 10:29:04 EDT 2001


Hi Chris

At 25/05/2001 10:18, Volpe, Christopher R (CRD) wrote:

>|> Well, I don't mind tabs as longs as they are every 4 chars,
>|> which is my
>|> settings in Emacs.
>
>Doesn't everybody indent 2 chars per indentation level?

Yes sorry, my mistake. (c-basic-offset . 2)

>|>          + you *have* to use that style for Tcl scripts,
>|> because it's part
>|> of the syntax.
>
>As long as we're griping, incorporating an indentation style into the 
>syntax is an abomination.

Tell Ousterhout :)
BTW, that's the case for Python too. But it's nice.

>... which is why any experienced C programmer writes her macros like this:
>
>#define FOOBAR(x) \
>do \
>   { \
>   do_something(); \
>   do_something_else(); \
>   etc(); \
>   } \
>while (0)

Sure, but you do not always use macros written by experienced programmers :)





More information about the vtk-developers mailing list