3 ms·
I realize this. But C's new feature lists get smaller and smaller and are a lot more sane. https://en.cppreference.com/w/c/23 https://en.cppreference.com/w/c/2
by z_open 3y ago
I realize this. But C's new feature lists get smaller and smaller and are a lot more sane.
https://en.cppreference.com/w/c/23 https://en.cppreference.com/w/c/23
Meanwhile C++ just added for loop scoped typedefs.
for (typedef int Points; Points points : pointsScored) {
std::cout << "Jokic scored " << points << '\n';
}
- pjmlp 3y agoJust wait for what was left out of C23 and planned for a later revision, https://thephd.dev/lambdas-nested-functions-block-expressions-oh-my https://thephd.dev/lambdas-nested-functions-block-expression... https://thephd.dev/c-the-improvements-june-september-virtual-c-meeting https://thephd.dev/c-the-improvements-june-september-virtual... https://thephd.dev/ever-closer-c23-improvements https://thephd.dev/ever-closer-c23-improvements Only a small overview, I lost the link to the PDF with the whole set of language proposals for C2X.
- dkersten 3y agoThey do also deprecate and remove stuff too, and not all new versions are large (C++14 was very small). So, sure, they found a bunch of new stuff to add, but the frequency and size of updates does seem to depend on how much stuff is proposed that they deem useful enough to add. Note that in the time C++ had 5 updates, Python has had 10 releases and Java has had 14!