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

> The immutability is already implied by the 'let' and 'var'.

The immutability of the binding and that of the value are different concerns. let and var are about the binding's mutability, trying to munge them together only ends up in tears.

> The proposal is similar to proposing the following declaration in C:

No. The proposal is similar to the following C:

    int const * i;


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

Search: