On Monday, 15 October 2012 at 16:37:08 UTC, Peter Alexander wrote:
On Monday, 15 October 2012 at 15:01:27 UTC, Manu wrote:

But mainly it's all the little things, conveniences that add up and make
the experience more enjoyable.

I find this as well.

D has a lot of neat and interesting features, but really the big advantages over C++ (for me) are:

- No header files
- Closures
- Polymorphic lambdas
- Aliases
- Simple(r) templates

The biggest problem with D at the moment for me is the quality of error messages, especially when using templates with constraints. The best error you'll get is "can't call this function with these arguments", and you have to go through and manually expand the templates in your head to see what went wrong. Not fun.

For me:

- aliases (Can't believe how Java and C# don't have them)
- templates
- meta-programming
- open source language

Sadly at work it is hard to sneak in D, because we mainly do JVM/.NET stuff, with C++ projects considered legacy(!).

--
Paulo

Reply via email to