www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Why not name Random access range Index access range?

reply "deed" <none none.none> writes:
as there is no randomness involved, only the possibility to 
access by index.
Feb 23 2013
parent reply "Mike Parker" <aldacron gmail.com> writes:
On Saturday, 23 February 2013 at 12:59:44 UTC, deed wrote:
 as there is no randomness involved, only the possibility to 
 access by index.
"random access" is exactly the name this sort of behavior has always had. It doesn't mean random as in /according to chance/, but random as in non-sequential. See http://en.wikipedia.org/wiki/Random_access
Feb 23 2013
parent Charles Hixson <charleshixsn earthlink.net> writes:
On 02/23/2013 06:11 AM, Mike Parker wrote:
 On Saturday, 23 February 2013 at 12:59:44 UTC, deed wrote:
 as there is no randomness involved, only the possibility to access by
 index.
"random access" is exactly the name this sort of behavior has always had. It doesn't mean random as in /according to chance/, but random as in non-sequential. See http://en.wikipedia.org/wiki/Random_access
Well, to be fair it's not only been called random access. Some languages preferred to call it direct access. Same idea, though. It's Random Access Disk in the same sense that RAM is Random Access Memory.
Feb 23 2013