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

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!



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: