
On Thu, 1 Dec 2022 at 05:13, dn <PythonList@danceswithmice.info> wrote:
This is the scoping equivalent of a pair of curly braces in c and c++. I would like to see it be nestable, as scopes are in c/c++:
Aside: statements seeking justification from other languages invite an obvious retort, along the lines of 'use [what you think is] the best tool for the job'.
Hmm, I'd dispute that when it comes to idea discussions. It's generally helpful to see prior art, and given that a good few of us are fluent in multiple languages (and core devs are likely to be quite familiar with C due to its use in CPython), explaining an idea in terms of another language's features is quite helpful. Of course, it's only helpful to the exact extent that it parallels the other language's feature, which might not work too well without variable declarations, but that's the inherent difficulty of feature-borrowing :) ChrisA