3 ms·
> If a compiler enforces bare minimum, then a linter enforces less than bare minimum. I'm considering linters as something you use in addition to compilers. Y
by Manishearth 10y ago
> If a compiler enforces bare minimum, then a linter enforces less than bare minimum.
I'm considering linters as something you use in addition to compilers. Yes, they enforce fewer checks, but the assumption when running a linter is that the code compiles, already. Or, at least, that's what the assumption should be.
> This is true, and I agree completely, it's not an either-or situation.
Ah, okay. Yeah my issue was mostly with the either-or framing here.
> because the languages they represent don't come with a static type-checking compiler.
Yes, but this thread is about C++, which is a different world.
- dahart 10y agoTrue true, and this sub-thread is specifically about someone who is afraid to use c++ due to lack of a linter. I've used c++ for the majority of my career, and all I really wanted to say to @codebeaker is don't be afraid to learn c++ for lack of a linter, because it comes with one. My mistake that I framed it in an argumentative way, that ultimately wasn't my intent.
- Manishearth 10y agoAh, I see :)