[Mono-list] Style

Serge serge@wildwestsoftware.com
Fri, 1 Mar 2002 18:52:28 +0200


> When you use macros, it's pretty easy to do this mistake:
> 
> #define MY_MACRO \
> foo (); \
> bar ()
> 
> if (x)
> MY_MACRO;

This is often handled by adding do/while(0) to macto
to create a scope.
But in fact I have nothing against some extra braces ;-)