Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is the point of having warnings then.


You can suppress them in the rare cases this is needed.

Such suppression are than big warning signs in the code telling you that something exceptional is going on which needs extra attention when touched.

Also warnings may be wrong. Errors mustn't be and can't be as strict as warnings therefore.

But it shouldn't be possible to "just ignore them". If you do, this needs to be done deliberately and explicitly.


Yeah at best you can force can force people unfamiliar with the code to waste their time suppressing a dumb ass warning that means nothing. Or worse accidentally introduce a bug.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: