Re:Moving forward with work on the D language and foundation
by jeremiep on Monday August 31, 2015 @09:18AM
(#10146644)
While I agree with you I think D's design avoid a lot of the pitfalls of C++.
When I think about all the different variable initialization rules in C++ I know I'll get it wrong in crunch time and most likely get it wrong when all my work conditions are perfect because there's like 7 different rules. And that's for one feature only.
D doesn't make it impossible to write horrors, it just doesn't ask for it the way C++ does.
While it's true that some languages make some horrors easier to bring into the world (if you take away people's access to the memory, for example, you remove an entire class of memory-related nightmares), in my experience, the key requirement for creating these horrors isn't the language; it's the programmer and the constraints they're working under (such things as inexperience, painful levels of urgency, inappropriate processes, team churn, and so on and so on). People can and will make horrors in any language, and if D becomes the new C++, in twenty years people will be saying the same things about D.