Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tomjen3
on June 21, 2011
|
parent
|
context
|
favorite
| on:
Edsger Dijkstra's note on starting array indices a...
One student group at the University of Aalborg designed a language which, among other things, allowed array indexes to be floating point numbers.
So yeah, the array would start at 0,5.
gaius
on June 22, 2011
[–]
I bet it wasn't an array at all, but a hashtable.
tomjen3
on June 22, 2011
|
parent
[–]
It was, but they did convert it to an integer on the implementation sides so 0.2 and 0.3535 would be the same element.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So yeah, the array would start at 0,5.