3 ms·
> I think the likelihood is that a developer who needs to change a variable and gets a const-thrown error about it will probably just change the const to let an
by cbuq 11y ago
> I think the likelihood is that a developer who needs to change a variable and gets a const-thrown error about it will probably just change the const to let and go on about their business.
If this is the core argument to not using 'const', then you are out of luck trying to enforce any coding style. I might as well just delete any code that doesn't make sense.
- _getify 11y agoIt's not the core argument. It was a tangential side note in the blog post.