If you're an old timer, you expect [] to index into an array, and you definitely do not expect it to do a lookup in a map/dict. Older languages just didn't include a dict-like structure in the language (technically, even C++ didn't).
Do you not see that for them, overloading [] for dictionary lookups is "something completely different from what you intuitively expect"?
If you're an old timer, you expect [] to index into an array, and you definitely do not expect it to do a lookup in a map/dict. Older languages just didn't include a dict-like structure in the language (technically, even C++ didn't).
Do you not see that for them, overloading [] for dictionary lookups is "something completely different from what you intuitively expect"?