Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rwbt
· 1mo ago · 0 comments
I'd rather not migrate my C codebase to C++ just to use an array container. Very hard to consistently limit the codebase to a strict subset of C++.
Comments
[–]
pjmlp
1mo ago
It is called a linter, more devs should learn to use a tool that was originally created for C in 1979.
[–]
accelbred
1mo ago
The only decent linters I know of for C++ are clang-tidy and coverity and they are not good enough.
[–]
pjmlp
1mo ago
If the goal is language subsetting, they do the job just fine.
[–]
rwbt
OP
1mo ago
Can clang tidy restrict RAII entirely? Or any other linter?