Why should #ifdef be avoided in .c files?

Viewed 12348

A programmer I respect said that in C code, #if and #ifdef should be avoided at all costs, except possibly in header files. Why would it be considered bad programming practice to use #ifdef in a .c file?

11 Answers
Related