News for hackers. Stuff that matters.
Re:Why I like Java by Sandman on Tuesday March 25, 2014 @10:57AM (#7466225)
By the way, nobody should ever use "foo".equals(someVariable) anyway. If anything, it should be someVariable.equals("foo"), unless you really know what you're doing and are ok with null being a valid value of someVariable.
Re:Why I like Java by snuxoll on Tuesday March 25, 2014 @03:57PM (#7468503)
Either style would be fine as long as you check your preconditions.