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

I’ve been her 30 years. I’ve never found much use for const. I value brief simple code that doesn’t rely on things like const to tell people what’s going on.

Codebases have their own conventions and design patterns. If you have that const is a needless formality.

Code should be being simple and clean first, constantly stating things that are obvious 90% of the time isn’t that.



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

Search: