4 ms·
C++ has that. Check out clang_tidy [1]. EDIT: In particular, the clang tidy linter has a way of checking your code against the C++ core guidelines [2], which i
by bstamour 10y ago
C++ has that. Check out clang_tidy [1].
EDIT: In particular, the clang tidy linter has a way of checking your code against the C++ core guidelines [2], which is a set of modern best practices for the language.
[1]. http://clang.llvm.org/extra/clang-tidy/ http://clang.llvm.org/extra/clang-tidy/
[2]. https://github.com/isocpp/CppCoreGuidelines https://github.com/isocpp/CppCoreGuidelines
- progman 10y agoYeah, C++ has that. Other languages - Ada and Rust for instance - don't need that. If you are concerned about code safety then C++ is not a good choice.
- bstamour 10y agoYeah, I kind of agree that C++, when used badly, can result in some serious mess-ups in the safety department. But for better or worse the language is here to stay (at least for the foreseeable future) so it's good that these guidelines and tools exist.