3 ms·
I think it makes sense to bundle with a standard module things which are quite OS independent and very commonly used like Python, Go, Swift, Julia and many othe
by socialdemocrat 4y ago
I think it makes sense to bundle with a standard module things which are quite OS independent and very commonly used like Python, Go, Swift, Julia and many other languages do: collections, common algorithms, File reading and writing, socket communication, async, concurrency, JSON and possibly simple XML. String manipulation, regular expressions.
What should clearly be outside is stuff like graphics library, GUI, HTML.
- _gabe_ 4y ago> collections, common algorithms, File reading and writing, socket communication, async, concurrency, JSON and possibly simple XML. String manipulation, regular expressions C++ does provide all of this in the standard library except for sockets, Json and XML. I think once you get to things like Json and XML it doesn't make much sense to include that in the standard library. There are plenty of applications that don't need or use either of those, and it's a shame to bundle some configuration language when somebody may have another preference like yaml or something. There's nothing wrong with providing additional standard add-ons that include these, but I definitely don't think it makes a lot of sense to bundle it in with the standard. This is a whole separate conversation, but my main point was there are a lot of better things to pick on C++ for. Most complaints I hear are that it includes too many useless features haha.