by raverbashing · 10y ago · 0 comments
To be honest, this is a corporate sales pitch. It's trying to justify the injustifiable
It doesn't need to be full of "features" that most people don't use. Granted, some of them are needed regardless
C++11 and 14 have simplified some parts, which is good. Still, a lot of other languages do more with less complexity
Some things that are painful
- String formatting in STL is a joke
- "Smart pointers" are still an add-on and clunky to use
- No reflection. Manual setup of getters/setters/copy constructors
Flexibility should not imply in being "hard to use"
Without boost::format and boost::algorithm, std::string is a major pain in the ass to work with. Even including those two, there's still the distinct lack of unicode-awareness (and no, wstring doesn't help, and neither does "let's pretend it's all utf8 underneath".) And then there is the institutional problem that nobody agrees on whether, and if so how, to use std::string in their libraries' API's.
But on the bright side, string handling in C++ is not as painful today as it was in 2005, things do get better.