Re: Style convention question



Mark Mielke <mark mark mielke cc> writes: 
> There is no need to do the typedef in C++.
> 
> It requires additional symbols to be allocated, requires more memory, and
> will slow compiles down.
> 
> Perhaps by just a touch -- however, the same compile will be slowed down
> from now until this code becomes obsolete.
> 
> 2% faster or less, at the cost of one #ifdef.
> 
> Isn't it worth it?
> 

My view would be no, because DECLARE_STRUCT() obfuscates code, and
that issue is more important than compile times.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]