How can I dump an expression into log and execute it

Meta via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 14 08:29:56 PDT 2014


On Monday, 14 July 2014 at 15:13:21 UTC, Timon Gehr wrote:
> On 07/14/2014 11:55 AM, Dicebot wrote:
>> I must admit D is far from perfect in that regard because 
>> operator
>> overloading is still not limited enough
>
> There is no real point in limiting it at all. It is just a 
> matter of naming your functions properly.
>
> auto subtract(int a, int b){ return a+b; }

Naming things is the second hardest problem in Computer Science, 
after the Halting Problem. ;D


More information about the Digitalmars-d mailing list