Comment by webdevver
2 months ago
for me, its C++11. the absolute pinnacle of mankind.
everything has been going downhill since then. coincidence? i think not!
2 months ago
for me, its C++11. the absolute pinnacle of mankind.
everything has been going downhill since then. coincidence? i think not!
The new changes in C++14, 17, and 20 are really nice. It feels like the language keeps getting cleaner and easier to use well
Yes! Just to list a few personal highlights:
C++14:
C++17:
C++20:
Same, I don't understand the complaints against modern C++. A lambda, used for things like comparators etc, is much simpler than structs with operators overloaded defined elsewhere.
My only complaint is the verbosity, things like `std::chrono::nanonseconds` break even simple statements into multiple lines, and you're tempted to just use uint64_t instead. And `std::thread` is fine but if you want to name your thread you still need to get the underlying handle and call `pthread_setname_np`. It's hard work pulling off everything C++ tries to pull off.
2 replies →