Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.




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: