Hacker News new | ask | show | jobs
by hliyan 3704 days ago
I wonder if all these languages features are really necessary. I used C++ during the first ten years of my career and what I missed the most were better standard library features and more third party libraries (we used to write everything ourselves).

Language features are nice to have, but I never really missed any specific feature. Almost every sort of syntactic simplification I wanted to achieve, I could do so with a function, class or a template.

2 comments

It's not about necessity. It's about convenience. There's really not much you can't do with C++, the only question is how much effort it requires. These changes help reduce effort without sacrificing anything, spare it for minuscule amount of compile time. Besides, you can always use old syntax if you prefer.
Oh, you could totally implement eg range that fndrplayer13 is talking about as a library function.