2 ms·
C++ has a serious tooling and discoverability issue. The syntax of c++ can be annoying and there are other oddities, but that isn't going away. C++ isn't about
by ironman1478 6y ago
C++ has a serious tooling and discoverability issue. The syntax of c++ can be annoying and there are other oddities, but that isn't going away. C++ isn't about making the easy things easy, it's about making the hard things not intractable (you can't build a self driving car or a game in python).
It's unfortunate that the compilers don't automically turn on -werror, -wall and other useful flags that can help alleviate lots of arcane issues. I also think the tool maintainers do a poor job of promoting the use of UBSAN, ASAN, TSAN, etc. If you watch talks, you'll learn about these tools that solve most headaches, but you have to be so in the know to be aware that these tools exist. You have to dedicate time outside of working hours to really absorb all this information and imo that's unacceptable. Other languages put a larger effort towards making their tooling easy to use and provide amazing documentation (c# is the best at this imo). I'm a c++ dev and I love it in a masochistic way, but if these issues aren't addressed rust will eat c++'s lunch.