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

Re: try-catch x const, this is indeed one of top annoyances in JS those days. I hope this proposal makes it to the language one day:

https://github.com/nzakas/proposal-write-once-const?tab=read...



Thanks for the reference. I am surprised that Java already has a solution and the choice of keyword "final" is a nice one.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: