One of the most reinvented concepts in programming is the associative array. It consists of a collection of attribute-value pairs. It's fundamentalness - yet obviousness - has led to it having dozens of names. Here are some of them.
associative-array := [ attribute-value-pair* ]
attribute-value-pair := (attribute, value)
Language | Associative Array | Attribute-value pair | Attribute | Value |
---|---|---|---|---|
JSON | object | member | name | value |
JavaScript | object | property | property name | value |
Python | dict | key-value pair | key | value |
PHP | array | key-value pair | key | value |
Perl | hash | key | value | |
C | struct | member | ||
C++ | std::map | key | value | |
Excel | Sheet | row | column | cell |
ADO | recordset | record | field | property |
SQL | table | row | column | value |
Lua | table | key | value | |
NoSQL | key-value store | key | value |
Another source: Wikipedia (wikipedia has everything, doesn't it?!)