Comparison of programming languages (associative array): Difference between revisions

Content deleted Content added
DarthKitty (talk | contribs)
m D: improve citation
m Fix Linter errors.
Line 472:
[[Go (programming language)|Go]] has built-in, language-level support for associative arrays, called "maps". A map's key type may only be a boolean, numeric, string, array, struct, pointer, interface, or channel type.
 
A map type is written: <ttcode>map[keytype]valuetype</ttcode>
 
Adding elements one at a time: