2 ms·
> However, the paragraph from the Lua manual still shows sloppy technical writing. That may be true, but we just have to live with it. We can't expect every pi
by exDM69 15y ago
> However, the paragraph from the Lua manual still shows sloppy technical writing.
That may be true, but we just have to live with it. We can't expect every piece of software to be documented properly (or even at all).
> For example, coming from Python an "associative array" would have to be called a "dictionary". For the Java and C++ programmers it would be a Map.
I think the term "associative array" is used here (as well as in PHP docs) because it's distinct from Python-style "dictionaries" or Java/C++ "maps" in that it's the only data structure used in Lua. There's no lists or sets like in Python. I think this is the intent that the manual wanted to portray.