4 ms·
>> I've preferred C to C++ and D to C++ for a long time. To me when I read C++ code it's like the modem disconnected in the middle of the editing session with a
by strictfp 7y ago
>> I've preferred C to C++ and D to C++ for a long time. To me when I read C++ code it's like the modem disconnected in the middle of the editing session with all the : and << flying around.
I'm sorry, but even though I think D is a great language, there are plenty of usecases where D isn't a viable alternative to neither C or C++.
If D had all those missing features, or if you compared D to some other mainly-GC:ed, statically typed and compiled language, I think the syntax comparison would have been more fair.
- mhh__ 7y agoWhich missing features?
- dymk 7y agoSay, the whole C++ ecosystem
- 256 7y agoI don't think that's fair. D interfaces with C++ better than any other language I can think of. See https://dlang.org/spec/cpp_interface.html https://dlang.org/spec/cpp_interface.html
- pjmlp 7y agoDelphi and .NET also come to mind, due to C++ Builder and C++/CLI respectively. :) Or via COM, which D also supports.
- nicwilson 7y agoIts getting there https://github.com/atilaneves/dpp https://github.com/atilaneves/dpp