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

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

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

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