Thread: Table 3.1
View Single Post
Old 07-03-2008, 07:16 AM   #9
master of fugue
cohadar's Avatar
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)


Originally Posted by Wiki
From the perspective of a computer programmer, an associative array can be viewed as a generalization of an array. While a regular array maps an index to an arbitrary data type such as integers, other primitive types, or even objects, an associative array's keys can be arbitrarily typed.

So the fact you can use negative values does not make it associative because negative integer is still an integer, same type.
Your code represents a dynamic array.

Gamecache is associative array.

Technicality like I said, but misusing names is always dangerous in the long run.
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote