On Tue, 19 May 2015 11:36:32 +0000, Chris wrote: > On Tuesday, 19 May 2015 at 11:08:52 UTC, thedeemon wrote: >> On Monday, 18 May 2015 at 14:30:43 UTC, Chris wrote: >> >>> Why is _accessing_ an assoc treated as indexing it? >> >> Are you sure you understand "indexing" as we do? It's not like indexing >> of databases, it's just "accessing by index" i.e. using >> myarray[some_index]. > > I understood indexing as assigning an index to something > > myarray["Index1"] = "First Entry"; > > As in > > https://en.wiktionary.org/wiki/indexing > https://en.wiktionary.org/wiki/index#Verb
and that's wrong. ;-) most programmers in this case read "indexing" as "accesing by index". it's a common term for such access. tbh, i didn't even understand you fully until i read the post i'm answering to.
signature.asc
Description: PGP signature