Compiler errors and warnings can help you accomplish your work faster and with higher quality.
It seems that things the compiler issues beside the class file is nothing but annoyances to some developers. After all, if the compiler stops emitting errors, we are set. Consequently, some developers want the compiler to shut up.
Imagine the following implementation of a paycheck application:
The implementation changes a lot over time, so some day a developer changes the code due to some updated requirements:
Now the compiler issues an error saying that "the local variable salary might not have been initialized". Very true, we branched at
Eclipse suggest at this point to initialize salary and if you agree, it will change
Think twice. The compiler will analyze all your method to find out if you missed an assignment to salary. All that is required is a little support from your side.