27 Nov 2020 27 Nov '20
On Fri, Nov 27, 2020 at 10:33:17PM +1100, Steven D'Aprano wrote:
On Fri, Nov 27, 2020 at 01:36:00PM +0300, Paul Sokolovsky wrote:
So, the alternative opinion you hear is that we could allow *optional* block-level scoping.
No such thing.
That dismissal (which made sense in my head when I wrote it) fails to survive on re-reading it. Sorry.
Of course it could be optional in the sense of being explicitly opt-in, e.g. with `let` assignments, rather than mandatory. But it won't be optional in the important sense that I went on to describe, namely that even if I personally don't use this feature, I'll still have to deal with it.