I still love C++ but rarely code in it any more. One interesting thing is that the whole modern approach to immutable data structures seems so wasteful to me now. C++ you literally take strings and overwrite characters, where now people duplicate lists of records just to stay clean.
Once you have the discipline you need in C++ to make mutable data structures work its a hugely efficient place to be. However I sleep much better in the non-C++ world.
> C++ you literally take strings and overwrite characters, where now people duplicate lists of records just to stay clean.
When you're dealing with UTF-8, you can't overwrite your buffer in the general case because changing case can change the encoded length of the characters.
Once you have the discipline you need in C++ to make mutable data structures work its a hugely efficient place to be. However I sleep much better in the non-C++ world.