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

Sorry, I guess I read "protect from reassignment" as "protect the underlying data" then.

I would argue that if you CAN change the underlying data, then the understanding of const by 99% of people is made incorrect. Therefore it's not really a good feature (in my opinion).



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

Search: