3 ms·
I’m using a very limited subset no doubt This is one problem. I've been programming C++ on and off (mostly off) for about 15 years, and I keep running into th
by dagw 4y ago
I’m using a very limited subset no doubt
This is one problem. I've been programming C++ on and off (mostly off) for about 15 years, and I keep running into things in code bases that I've never seen before and have no idea how to deal with. The potential difference in coding styles between two C++ developers is far larger than probably any other language I know. If I get to write C++ the way I want, using only the features I know, then it's fine. Once you start getting more developers involved you are going to need a very strong lead to keep everyone in line and consistent.
C++ is also complex and interacts with other complex things in sometimes unexpected ways. It will also let you shoot yourself in the foot in very complex and unexpected. By far the hardest bugs I've ever had to deal with in my career have all been C++ bugs.
Finally building and linking a non-trivial C++ project always ends up being a janky pain that eats up more time and sanity than it should.
The being said, I don't mind C++ and use it quite a bit. Although these days most of the C++ code I write is libraries callable from python with pybind, rather than 'pure' C++ applications.