Announcement
iPhone DZone: Fresh Links On Your iPhone by matt at Sat Jul 05 14:09:51 EDT 2008
Reading DZone on your iPhone just got a little bit easier. Visit http://dzone.com/iphone from your iPhone to try out our beta iPhone support. You can view stories, filter by tags, and login. We'd appreciate your feedback at feedback@dzone.com.
Excuses, excuses, excuses... Login and vote now.
By ivan_memruk
via thewrongcode.blogspot.com
Published: Dec 28 2007 / 23:13
Comments
Kirill Grouchnikov replied ago:
Correct link is http://thewrongcode.blogspot.com/2007/12/equalsinstanceof-pitfall.html
Don't link to the entire blog
ivan_memruk replied ago:
Yeah Kirill I did fix the link but somehow dzone still shows it the incorrect way that I first entered it :(
Did you read the post?
dzonelurker replied ago:
See:
http://www.javaworld.com/javaworld/jw-06-2004/jw-0614-equals.html
ivan_memruk replied ago:
thanks dzonelurker
the article you've given the link for sorta addresses the issue
however the code of the examples given there is really horrible, lots of redundant if-checks and returns
anyway, it is better to do it this way than the semantically incorrect way
Voters For This Link (8)
Voters Against This Link (4)