[Haskell-cafe] Line noise

Daniel Fischer daniel.is.fischer at web.de
Mon Sep 22 08:50:01 EDT 2008

Am Montag, 22. September 2008 08:32 schrieb Andrew Coppin:
> > However, I will grant you that Map k v, could have used longer type
> > variables. But we are not alone with using one letter type variable
> > names http://java.sun.com/javase/6/docs/api/java/util/HashMap.html . And
> > frankly, in this specific case, I think most programmers (Haskell or
> > non-Haskell) will be able to guess what k and v means, when they are
> > standing right after Map.
> Only if you can figure out that "Map" means what every other programming
> language on the face of the Earth calls a "dictionary". (This took me a
> while!)

So, when did Java leave the face of the earth?
Seriously, I find Map a far clearer term than dictionary and would've had 
problems grokking the latter. I guess you've just been exposed to the wrong 
languages for too long.

More information about the Haskell-Cafe mailing list