#ifdef hell

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 30 06:01:40 PDT 2015


On 2015-10-30 03:01, Walter Bright wrote:

> I might add that over time, I'd been removing #if's and #ifdef's from
> the dmd front end source code. The results were very satisfactory - the
> code was easier to read, understand and maintain. It also made running
> magicport on the code practical.

The DMD source code contained #ifdef's inside expressions, which is 
quite a difference compared to "or" and "and" in "static if".

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list