3 ms·
I actually almost never use the OOP parts of D because metaprogramming generally offers a more elegant solution to the problem than polymorphism. That doesn't
by dansze 10y ago
I actually almost never use the OOP parts of D because metaprogramming generally offers a more elegant solution to the problem than polymorphism.
That doesn't mean there's no downside to the metaprogramming in terms of project complexity, but once you get past the part where you rebuild the universe from scratch it's smooth sailing.