Re: Compiler directives



Should they be avoided? Why?

They are usually unavoidable, but IMO their use should be minimized, because they make code less readable and maintainable.
Another reason is that their change is only reflected on the units that are recompiled, so changing them can lead to curious bugs if you forget to fully rebuild.



.