News for hackers. Stuff that matters.
Re:What is the most intrusive wart on your favourite program... by mdasen on Monday December 08, 2008 @12:46AM (#389537)
I should have used a better example, but there are a good number of cases where the Java compiler complains about missing return statements that just don't need to be there. It's a wart in the language.
Re:What is the most intrusive wart on your favourite program... by dcminter on Monday December 08, 2008 @07:05AM (#389774)
Can you cite a specific example where the condition is NOT ambiguous and the Java compiler WILL produce an error? The example you cite is incorrect (see my post later) - you can compile code of this form just fine.

I'm not aware of unambiguous situations where the compiler will complain; if you see an error it's usually pebkac!