6 ms·
Linter? You mean compiler right? The compiler should be warning for things like this, not relying on 3rd party tools. So, yes, if you're using a custom compil
by Dayshine 8y ago
Linter?
You mean compiler right? The compiler should be warning for things like this, not relying on 3rd party tools.
So, yes, if you're using a custom compiler, you kinda are to blame for shooting yourself in the foot. Just use the official binaries!
- dvlsg 8y agoDepends on the language. Javascript, for example, would use a linter for this warning.
- KSteffensen 8y agoIt's not that easy for the compiler to provide these warnings when the language is interpreted rather than compiled
- TooBrokeToBeg 8y agoThe compiler can do anything a linter can do. Multi-pass multithreaded compilers are not unheard of. eg While compiling to temporary storage, I do a linting in another thread. At the end, check for successes and move the artifacts into the output directory.
- TwelveNights 8y agoWhat the poster means is that a compiler may not be as applicable to interpreted languages.