Re:Why I Like The Verbosity of Java
by MatthewPhillips on Wednesday January 04, 2012 @09:26AM
(#3424216)
Yes but
does not.
[ Parent
| on HN ]
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
Re:Why I Like The Verbosity of Java
by AndrewDucker on Wednesday January 04, 2012 @09:39AM
(#3424255)
It does when you can hover your cursor over GetMap() and see the exact specification for it.