It is the year 2020: why should I use / learn D?

Ali Çehreli acehreli at yahoo.com
Thu Nov 15 19:17:43 UTC 2018


On 11/15/2018 06:04 AM, Erik van Velzen wrote:

 > If that's true even templates will be more concise in C++.

We had similar hopes with C++11's 'auto' keyword and the move semantics 
with 'auto&&'. Anybody who hasn't read explanations of those concepts 
like the ones in Scott Meyers's "Effective Modern C++" are fooling 
themselves about the simplicity of such concepts.

Another example: Can anyone memorize what C++ special functions does the 
compiler generate in the absence, presence, explicit-defaulting, and 
explicit-deletion (and more? I can't be sure..) states of the same 
functions? No.

One of the prominent members of the C++ community is local here in 
Silicon Valley. He hinted that the goal is to keep C++ improved to avoid 
it becoming like COBOL, where very few experts remain, who are paid $1M 
salaries. "We don't want C++ become like COBOL." My answer is, C++ is 
heading exactly the same place not through natural death but through 
those improvements.

Ali



More information about the Digitalmars-d mailing list