3 ms·
> Basically get rid of everything that the legacy of C brings. This is actually happening, but not literally. That is, most of the things you used to write in
by einpoklum 7y ago
> Basically get rid of everything that the legacy of C brings.
This is actually happening, but not literally. That is, most of the things you used to write in a C-like fashion - you no longer write today:
* References or plain values instead of pointers.
* std::arrays or other containers instead of plain arrays.
* std::variant's instead of unions
* std::expected instead of returning error codes (although error handling is a really complex issue)
and so on.
> Get rid of the headers .h etc.
This will start to happen in C++20, with modules.
> Make a standard package library that works properly on all platforms.
The standard library works well on many platforms. If you mean package management systems - that's never part of the language; but you can check out https://conan.io/ https://conan.io/
> Standardize the internal symbols.
Sort-of happening with modules, if I understand what you mean.
> Make templates / everything easier to use,
C++ features are actually easier to use as the standardization progresses.
> make standard internal map and vector types.
Whaaat?! Ha ha ha, certainly not. You really don't want that.
> Change auto to var.
That is rather inconsequential...
> Kinda like the way go did it.
What you suggested is in no way specific to Go.