News for hackers. Stuff that matters.
Re:PHP: A fractal of bad design by mbell on Tuesday April 10, 2012 @09:24PM (#3825459)
In Java annotations can be used to ignore compiler warnings, not runtime errors.

To get the same effect as @ you'd have to use try {} catch {} blocks all over the place and leave the catch blocks empty, as with any other language with runtime exceptions. Sadly this is done more that one would think...

Re:PHP: A fractal of bad design by jablan on Wednesday April 11, 2012 @04:17AM (#3826495)
But that was exactly my point. When you do it in Java, you are obviously doing something wrong (or at least not intended to be done). It just looks wrong at the first glance, with empty blocks and all. In PHP, it's just a single character prefix, no bother at all to add, and looks just like any other sigil. Its usage is definitely not discouraged by design, quite the contrary.