4 ms·
I'm not sure what you mean by heavy use of keywords, but C++20 allows you to express templates basically as generics so if the <> syntax offends you you can do
by gumby 7y ago
I'm not sure what you mean by heavy use of keywords, but C++20 allows you to express templates basically as generics so if the <> syntax offends you you can do without it completely.
Do you also object to Lisp Macros?
- jonny383 7y agoThis is exactly the problem with C++. Let's fix ugly syntax by providing yet another way to write something that accomplishes the same thing. Over-evolution isn't a good thing.
- pjmlp 7y agoJust like breaking backwards compatibility usually leads to 17 years delay in adoption. Can't please everyone.
- teleforce 7y agoNot OP but D has better templates implementation [1] and it has no macros, yeay! [1]https://github.com/PhilippeSigaud/D-templates-tutorial https://github.com/PhilippeSigaud/D-templates-tutorial
- gumby 7y agoTemplates were an attempt to get macros into the language.