4 ms·
Or you can chose to use the only the modern subset. eg only nullptr and never NULL.
by ape4 3y ago
Or you can chose to use the only the modern subset. eg only nullptr and never NULL.
- josephg 3y agoSure; but you’ll need to learn all those other features if you want to read other people’s code. I was adamantly against Javascript adding OO-style classes and public/private methods and stuff for that reason. More stuff in the language makes it strictly harder to learn. Even if I don’t want to use those language features myself, I will inevitably end up reading and debugging other people’s code which does use those features. So I still need to learn it all, even if I don’t ever see myself using that stuff.