3 ms·
There's no feature in C++ that you're required to use. Even classes. More features != bad language as long as you have a choice in the matter. However, a lac
by jkyle 11y ago
There's no feature in C++ that you're required to use. Even classes.
More features != bad language
as long as you have a choice in the matter.
However, a lack of features can definitely hurt if you need them.
- dikaiosune 11y agoThe constraints tools place on projects can sometimes be as important as the features they include. A simple opinionated tool can frequently be preferable for encouraging good code when compared to a wide open field of possibilities.
- Al-Khwarizmi 11y agoYour choice in the matter ends when you need to interact with other people's code. Which, unless you are doing a single-person hobby project, is almost all the time. Maybe more features != bad language per se, but they definitely add cognitive cost to the language and this is bad if the cost is greater than the benefit. In the case of C++ I think they have gone overboard long ago.