4 ms·
You'll never satisfy everyone I guess. For me personally, I wish D went more the OOP route (as the Tango library did in D1 times), rather than the template/meta
by skocznymroczny 10y ago
You'll never satisfy everyone I guess. For me personally, I wish D went more the OOP route (as the Tango library did in D1 times), rather than the template/metaprogramming way it went with. Some of the error messages from D rival C++ STL template vomit.
- PeCaN 10y agoHeh, that's exactly what I do like about D—the generic programming/metaprogramming paradigm instead of OOP. You can get some very elegant and efficient code with D, while OOP tends to have more runtime overhead.
- dansze 10y agoI 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.