News for hackers. Stuff that matters.
Re:“I'm basically giving myself a permanent vacation from be... by Dayshine on Thursday July 12, 2018 @01:39PM (#17516875)
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!

Re:“I'm basically giving myself a permanent vacation from be... by dvlsg on Thursday July 12, 2018 @01:54PM (#17517020)
Depends on the language. Javascript, for example, would use a linter for this warning.
Re:“I'm basically giving myself a permanent vacation from be... by KSteffensen on Thursday July 12, 2018 @04:02PM (#17518135)
It's not that easy for the compiler to provide these warnings when the language is interpreted rather than compiled
Re:“I'm basically giving myself a permanent vacation from be... by TooBrokeToBeg on Thursday July 12, 2018 @06:38PM (#17519210)
The 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.
Re:“I'm basically giving myself a permanent vacation from be... by TwelveNights on Thursday July 12, 2018 @09:24PM (#17519893)
What the poster means is that a compiler may not be as applicable to interpreted languages.