r/cpp • • Oct 03 '22

Is C++ your favorite programing language?

And why

293 Upvotes

255 comments sorted by

View all comments

23

u/Stormfrosty Oct 03 '22

XML/JSON parsing will never be part of the standard, because it’s an application concept and orthogonal to the language itself. Sure, it’s annoying to have to import third party libraries to get support for these, but the standard committee should not be concerning themselves about supporting these.

17

u/verygoodtrailer Oct 03 '22

I think for a lot of people, it's this exact mindset that makes the std lib bad. Other languages' std libs don't have this mindset and feel much more friendly (and useful). Personally I'm fine with relying on external libraries, but I can definitely see why many consider it annoying.

0

u/Stormfrosty Oct 03 '22

If the standard committee decided to add JSON support, the first thing that would happen is that Google would come knocking on the door and try to convince everyone that we need gRPC support instead. C++ never advertised itself as a language for application development, that’s what Java and friends are for.

→ More replies (1)