Skip to content

indices or indexes? #12902

@eschnett

Description

@eschnett

Should Julia choose either of the terms indices or indexes as preferred when talking about arrays? From a usability point of view, it is probably desirable to choose one of the terms and stick with it, especially when it comes to name publicly visible functions in the base language or commonly used packages.

Currently, looking for either term finds about the same number of occurrences (in both local variables, argument names, and documentation combined). Some other languages (e.g. Fortran, Python) prefer indices, database systems seem to prefer indexes. Google tells me that common language prefers "indexes" while math and computer science prefer "indices".

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions