On Thursday, 29 October 2015 at 23:10:38 UTC, Walter Bright wrote:
On 10/29/2015 3:23 PM, rsw0x wrote:
On Thursday, 29 October 2015 at 22:18:11 UTC, Walter Bright wrote:
https://www.cqse.eu/en/blog/living-in-the-ifdef-hell/

Another voice on what is wrong with the snarl of #ifdef's.

how does this differ from static if and version(x) hell?

We advise people not to use static if to do what version(x) eschews, and suggest better alternatives.

The same thing can be said about #ifdef. Conventional wisdom in C++ says there's better ways, but the abuse compiles thus continually abused.

Reply via email to