How can I dump an expression into log and execute it

fra via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 13 18:25:13 PDT 2014


On Sunday, 13 July 2014 at 20:56:31 UTC, Ary Borenszweig wrote:
> On 7/13/14, 8:13 AM, fra wrote:
>> Macros are an aberration that allow code writers to create code
>> that is plan impossible to understand and mantain. Mixins can
>> give you pretty much the same amoun of functionality while
>> imposing sane limits to what can be done.
>
> Do you really find my sample code hard to understand? Macros 
> looks just like regular function definitions, only with 
> placeholders.

#define sizeof(x) rand()

:o)


More information about the Digitalmars-d mailing list