3 ms·
C++ is trying to cater to every usecase. You don't need to use every feature, and if you move to a different field you may encounter different subsections of C+
by snovv_crash 5y ago
C++ is trying to cater to every usecase. You don't need to use every feature, and if you move to a different field you may encounter different subsections of C++ usage.
For example, C# doesn't run on 16bit microcontrollers, and many things in the language make it unsuitable for this. If you added this as another of the design constraints on C# then it would be more complicated for desktop application devs, or server devs. C++ handles all of these cases, so is necessarily more complex.
IMO what C++ needs is compiler support for warnings when "old" bad practices are used, which would allow the language to remain flexible and backwards compatible, while still providing guidance for the future.
- pjmlp 5y agoCheck netduino.