naming conventions - Why is Multimap not camel cased? -


this 1 annoys me (and colleague).

it's not

  • hashmap
  • treemap
  • org.apache.commons.collections.multimap
  • etc.

so why didn't notice naming convention flaw or there intention behind typo?

the word "multimap" (one word, entirely lowercase) refers specific data structure. it's different "map", data structure. since they're different data structures, have different names.

the map interface use in java chosen name associative array, known "map", "dictionary", "hash", etc. likewise, guava's multimap interface representation of multimap data structure.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -