News for hackers. Stuff that matters.
Re:Ask HN: what is the most stupid line of code you saw? by eduardordm on Wednesday February 20, 2013 @07:52PM (#5254588)
First, your answer is why I almost never criticize people's code:

This is (was in Sun's time) an actual possible certification question and you are wrong, this CAN return false:

        Object obj = new Object() {{ System.out.println(false); System.exit(0); }};
        
        System.out.println(obj instanceof Object);

There are no comments on this comment yet.