Macro inflation [was: Re: change log for rtems (2010-09-08)]
Ralf Corsepius
ralf.corsepius at rtems.org
Fri Sep 10 07:04:21 UTC 2010
On 09/10/2010 08:45 AM, Thomas Dörfler wrote:
> Eric, Ralf,
>
> obviously we have different opinions here. Once again: I agree that a
> different namespace is required for these definitions, but I think the
> macros _do_ improve readability.
OK, then let me be more explicit:
All these macros do, is to add masses of often superflous and evil
casts, to hide bugs, to decrease code readabilty and add potential
causes for the compiler to produce suboptimal code.
Doesn't it make you think that if such macros were generally considered
useful, they wouldn't have been standardized after all these 30 years C
is around? The fact they have not been, speaks for itself,.
Ralf
More information about the vc
mailing list