Hacker News new | ask | show | jobs
by 146 5818 days ago
> That's only useful for dumb languages

The compilers/interpreters I know that don't do this are PHP and Perl (C/C++ will do it if you use -Wall, which you should be using anyway).

So yeah, you're pretty much right. /snark

1 comments

Perl does indeed warn about the use of = instead of == in a conditional.
You're right; I didn't know about the -w setting. I guess that just leaves PHP.