Macro inflation [was: Re: change log for rtems (2010-09-08)]

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Sep 10 07:20:24 UTC 2010


On 09/10/2010 09:04 AM, Ralf Corsepius wrote:
> 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 

Example please.

> and evil
> casts, 

Example please.

> to hide bugs, to decrease code readabilty and

> add potential
> causes for the compiler to produce suboptimal code.

Example please.

> 
> 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
> _______________________________________________
> rtems-vc mailing list
> rtems-vc at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-vc


-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the vc mailing list