Re:Why I Like The Verbosity of Java
by samirahmed on Wednesday January 04, 2012 @09:56AM
(#3424320)
As the programmer, you wouldn't call getMap if you didn't know the return type
As the reader, this situation would be analogous to looking up the what map is, assuming it was declared earlier ... is a datamember etc.
something that might as well arise when typing..
private HashMap<Integer, String> map ;
then 30 lines later
this.map = getMap();
You would have to check javadocs or function header some time
As the reader, this situation would be analogous to looking up the what map is, assuming it was declared earlier ... is a datamember etc. something that might as well arise when typing..
then 30 lines later You would have to check javadocs or function header some time