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

What about using different types of brackets for different types of indexing?

    p[0] = p{1}
The array length is the same either way, {} is syntactic sugar for subtracting 1 from the index.

Also, p«0.5» for the indecisive.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: