Plot2kill 0.2

bearophile bearophileHUGS at lycos.com
Sat Mar 5 13:24:06 PST 2011


Robert Jacques:

> Why?

Because that syntax works, but it's a little brutal.


> Each of those arguments should be able to be set after creation.

Then call again a method of Figure that takes arguments for changes after creation:

auto sleepinessFig = Figure(args...);
sleepinessFig.modify(args...);


> Besides, Figure  
> takes a variable number of plot arguments, which means you couldn't  
> support default arguments (at least with the current syntax).

I see. Something to try to design for D3.

Bye,
bearophile


More information about the Digitalmars-d-announce mailing list