Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
TheCoelacanth
on Dec 18, 2015
|
parent
|
context
|
favorite
| on:
Why Python 3 Exists
That isn't an index into a string. It is an opaque indicator of position in a string. That opaque indicator of position happens to be implemented as an index into the underlying array, but it is not itself an index.
Veedrac
on Dec 19, 2015
[–]
That sounds like an index to me, and the operation surely indexing.
I mean, if one has a hashmap
hash = {"foo": 1, "bar": 2}
we say hash["foo"] is an indexing operation, and "foo" is an index. Seems the same to me.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: