Hacker News new | ask | show | jobs
by weltensturm 2537 days ago
Becoming a C++ expert is impossible in a lifetime, becoming a D expert is a matter of months.

It is, from the very core, a way simpler language than C++. I'd argue it's simpler than Rust, even. IMO acknowledging a few function attributes is way simpler than learning all the flairs of ownership and lifetimes.

As for metaprogramming, I love D's introspection capabilities, while I kind of want Rust's ability to create unquoted DSL.

The only "non-uniform" part of D that I can think of is the oddness of `shared`, and a few outdated stdlib modules. Everything else (betterC, pure, live, etc.) is just a subset of a powerful, coherent multi-paradigm language.

1 comments

I like D, but if you spend a some time in D forums, you would get that coherency is something that even D could improve upon, specially attribute usage, inline assembly compatibility among its implementations and some constructor/destructor corner cases.