2 ms·
I agree. The more code looks like C or early '90s C++ (not to say Java), the worse it is. The newest language features exist because the language is better with
by ncmncm 7y ago
I agree. The more code looks like C or early '90s C++ (not to say Java), the worse it is. The newest language features exist because the language is better with them, and code is better when it used them.
That is not to say that every function, or every program, has to use every obscure feature. Many features are there only to support very specialized use cases (which absolutely exist, and are important!). But things like new-style loops, generic lambdas, structured bindings, and little helper templates make writing and reading code enormously more pleasant.