[vtk-developers] style : Holiday greetings and a present of V TK4.0
Volpe, Christopher R (CRD)
volpecr at crd.ge.com
Fri May 25 10:42:24 EDT 2001
|> >... 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 :)
Absolutely correct. That's why I defend myself against inexperienced programmers when I use macros,
and I defend inexperienced programmers against themselves when I write macros. :)
-Chris
More information about the vtk-developers
mailing list