On Friday, 16 November 2018 at 14:30:02 UTC, Adam D. Ruppe wrote:
PS object.factory sucks and I hope it is removed some day.
There's no plan to do so, but I still wouldn't actually rely on
it... instead, I'd write your own factory function and
registration system, so you control it and will
On Friday, 16 November 2018 at 14:28:22 UTC, Adam D. Ruppe wrote:
On Friday, 16 November 2018 at 14:24:10 UTC, Aditya wrote:
./ss/Stat.d (defines interface named 'Stat')
./ss/Min.d (defines class named 'Min' that implements Stat)
Did you put a module declaration at the top of those files?
Hello !
I am trying to work out "The D programming Language" chapter 1.6
problem on Interfaces and Classes.
folder
./stats.d(takes argument "Min/Max" on command line and loads
them)
./ss/Stat.d (defines interface named 'Stat')
./ss/Min.d (defines class named 'Min' that implements