Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 897213 thumbnail
User 1003111 avatar

By ekramalikazi
via ekramalikazi.wordpress.com
Published: Dec 28 2012 / 10:18

Java Best Practices to use apache common library. To promote code reuse which means less unit testing, less bugs....
  • 14
  • 6
  • 1589
  • 2635

Comments

Add your comment
User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

"3. Have you overridden equals and hashcode methods?"

 In Java it's almost never appropriate to implement equals() and hashCode(). Quite the contrary, it's dangerous! The only exception are value types like Date, BigDecimal etc..

User 1003111 avatar

Ekram Ali Kazi replied ago:

0 votes Vote down Vote up Reply

Thanks MCII for the feedback.I do agree with you on this. I have re-framed the content. Sorry for the confusion. Thanks, Ekram Ali Kazi

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.