Hacker News new | ask | show | jobs
by tomjen3 5470 days ago
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.

1 comments

I bet it wasn't an array at all, but a hashtable.
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.