#ifdef hell
David Nadlinger via Digitalmars-d
digitalmars-d at puremagic.com
Thu Oct 29 16:14:24 PDT 2015
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.
Ha, I wish!
In fact, you are currently arguing for people to write *more*
version statements over at the
https://github.com/D-Programming-Language/dmd/pull/5231
— David
More information about the Digitalmars-d
mailing list