3 ms·
At least C++ provides the tools to avoid this kind of problems, if one choses to do so, instead of insisting into C idioms.
by pjmlp 3y ago
At least C++ provides the tools to avoid this kind of problems, if one choses to do so, instead of insisting into C idioms.
- Shorel 3y agoYeah, part of the problem here is that the source code and the bug were in C, and people commenting here think C and C++ are the same thing. There's a huge difference between C and C++. There's a big difference between 2001 version of C++ and 2021 version of C++. The languages are so different that, in general, something that happens to one of them doesn't apply to the other.