Ferhat KUL
A Software Enginer on the way to Software Craftsmanship
Asdfasf
(Move to ...)
Home
About Me
▼
Thursday, September 18, 2014
EJ-43 Return Empty Arrays or Collections, Not Nulls
Ref:
Effective Java by Joshua Bloch
Commonly, there is no reason to return null from an array or collection returned method which would require extra null check instead of returning empty array or collections.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment