Re:Facebook puts bounties on bugs in the D programming langu...
by cldr on Friday November 15, 2013 @05:40PM
(#6742643)
Same here; I used to be a huge fan of D but then C++11 came along and solved most of my problems (and some that I didn't know D had).
Re:Facebook puts bounties on bugs in the D programming langu...
by pjmlp on Saturday November 16, 2013 @07:45AM
(#6744565)
The problem is that when you work on big teams and are forced to work in C++98 with lots of style guide restrictions. Or when management will ever allow for updating the compilers on the build infrastructure.
Also compiling C++ code in C++11 mode won't make many developers use Modern C++, instead of C compiled with a C++ compiler, as many still do.
Maybe it works for your context, but in a global context we need to have safer languages for systems programming. Which were already available when C didn't had any meaning outside UNIX.
Re:Facebook puts bounties on bugs in the D programming langu...
by cldr on Sunday November 17, 2013 @10:00PM
(#6752234)
That's true, but you can write C code in D as well, so switching to D won't make people write idiomatic code either. If they won't learn how to use one correctly then they won't care enough to use another correctly.
And if your company won't let you upgrade compilers, then it certainly won't let you switch languages altogether.
Re:Facebook puts bounties on bugs in the D programming langu...
by pjmlp on Monday November 18, 2013 @02:01AM
(#6753017)
> That's true, but you can write C code in D as well, so switching to D won't make people write idiomatic code either
With a Pascal like type safety. You need to be explicitly mark your code as @system to be allowed to do C like tricks.
This alone is a very big advantage.
Re:Facebook puts bounties on bugs in the D programming langu...
by el_muchacho on Saturday November 16, 2013 @02:26PM
(#6746085)
C++11 adds a little welcome syntaxic sugar to the language. Yet C++ is nowhere near supporting functional style as well as D does. It really doesn't look and feel the same.
I find it interesting as a programmer who loves to operate in the space that uses useful abstractions but still is running on raw hardware, as C++ improves rapidly with the new release model since C++11, my interest in D wanes. I hope that most of what D is eventually seeps into C++, but nowadays I don't mind my C++ syntax and don't feel like I'm fighting with it as much.