4 ms·
> The average programmer simply cannot deal effectively with this modern C++. It is too complex. I interpret this assertion with a high dose of incredulity and
by rualca 6y ago
> The average programmer simply cannot deal effectively with this modern C++. It is too complex.
I interpret this assertion with a high dose of incredulity and skepticism.
You're specifically referring to a single class that's a part of C++'s standard library.
C++'s standard library is extremely spartan when compared with other programming languages, such as Java.
It's unbelievable that C++'s inclusion of stuff such as std::visit in its standard library renders it "too complex" when the extend and arcane nature of other standard libraries are incomparably higher.
Hell, some toolkits and frameworks are incomparably far more complex and we don't see them accused of being unusable.
- socialdemocrat 6y agoI am talking about the total cognitive load of modern C++. Not one specific class. I highly doubt people express in public that a particular library is too complex. They simply choose not to use it. I remember some Boost Graph library once. What a a mess. I never expressed publicly that I couldn't figure out how do use it. Nobody does that, because nobody wants to appear stupid. Instead I just wrote a graph library in C++ from scratch myself. Discovered that was faster than figuring out the template insanity in that Graph library. I have worked on usability for a number of years and done usability testing on people. And rarely if ever do anyone ever blame the system. They blame themselves. Or they shut up because they don't want to appear stupid. That is why when you do usability testing you have to sit an observe people. You cannot rely on questionnaires because people seldom admit the system was complex. Actually observing a variety of people try to program modern C++, would likely have been a rather sad experience.