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

Re: [f-cpu] "Tree"



On Tue, Jan 08, 2002 at 10:23:15PM +0100, Juergen Goeritz wrote:

> I don't quite understand the uproar - in software programming
> it's in wide use to use define switches for certain compilers,
> operating systems and hardware and nobody would throw away a
> part of the code just because some compiler could build/handle
> it better by its own.
> 
> How about a simple switch that enables/disables that balancing?

It's not good to have too many switches. It makes the code less and less
readable -- especially VHDL code (the language doesn't support conditional
compilation well). But even in C, one should not use too many #defines.

-- 
 Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
 "All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/