why?
Login to reply
Replies (2)
I (and the LLMs) spend way more time switching between const and let because the linter tells us to than relying on something not being reassigned because it's declared with const. If you need const, your scopes are too big.
Yeah const everything. mutable is a smell for me. If I have to use a mutable variable I'm probably doing something hacky.