|
|
|
|
|
by pjmlp
939 days ago
|
|
D suffered from lack of focus, and company sponsoring, hence why it hardly mattered to C++ folks. The domains that Java and .NET took away from C++ aren't coming back to C++, even if now they feel the pressure to have AOT and value types with better low level coding primitives. Additionally Java and .NET applications that get rewritten, most likely will be in one of those C++ wannabe successors, even if C++ is part of the equation by using GCC/LLVM backends. |
|
As an example, take this question from 2008:
"How do I tokenize a string in C++?" https://stackoverflow.com/q/53849/1593077
A very popular, straightforward, and traditional-style answer to this question, , given early on, was:
but a recent answer is: which is in lazy-evaluated functional style, and doesn't even directly utilize the fugly standard C++ string class. This example is of course a bit simplistic (since the main change exhibited here is in the standard library), but the point is that the language has demonstrasted strong abilities to reconfigure how users tend to write code. But - perhaps I'm giving it more credit than it's due any this won't comen to pass.