2 ms·
What I would like to see in C++ is to have very detailed control over language features and enforce coding guidelines in my own code base. Clang/LLVM are m
by uxcn 11y ago
What I would like to see in C++ is to have very detailed control over
language features and enforce coding guidelines in my own code base.
Clang/LLVM are meant for this. I haven't personally written anything that parses the AST yet, but there are tools that do (clang-modernize, clang-format, YCM, etc...).
What I think some people are overlooking is the practicality of C++. From a language standpoint, there are various inconsistencies, multiple ways to do things, arguably dubious design choices, etc..., but there isn't a genuine reason those can't be avoided.
I personally would probably prefer writing all my code in Haskell, but C/C++ is still vastly more productive.