|
|
|
|
|
by pedrow
1358 days ago
|
|
I was initially thrown by the example code which doesn't look like C++ at all: main: () -> int = { ... }
I learned this is 'Cpp2' which was also discussed by Herb Sutter recently[0]. I don't know if there is a desire for C++ (i.e. Cpp1) to become Cpp2 at some point - could this ever happen?[0]: https://herbsutter.com/tag/cpp2/ |
|
Speaking of the "desire[s] for [of] C++", it's a matter of design-by-committee and we all know what sort of results this brings. Consultants love each new standard. I am happy about this, that or that other library improvement but I'd wish they'd stop fucking about with the language. Come on guys, you aren't ever going to catch up to ML or lisp or ever return to C's "dirty elegance". Just stop breaking the mental model users have of C++ with every update please?
Sorry that comment went nowhere, I'm massively frustrated with C++, its direction, and I can't wait to leave it behind for good.
But "could this ever happen?" the committee agrees on the wildest stuff, so, sure, why not.