Hi all,
Thanks for the feedback on the list. I just got here but enjoy the
discussion. Here's my summary of what I've read.
- What I've suggested has been brought up many times before. In other
words, there are a lot of people who think this is useful.
- People focus on the silly example and suggest that the code needs
refactoring but that is besides the point. There are plenty use cases
where this would be very helpful, for example and especially after
refactoring code to safeguard procedural logic. Explicitly defining
where your "end while" is quickly tells you if it has become an "end if"
after refactoring.
- Many people like and prefer meaningful indentation. My proposal does
not have any impact on them as they can continue to do that. People,
like me, who value meaningful indentation "plus" if you like would very
much appreciate this language addition.
- I can't say much about the effort required to add this to the language
but as far as I can tell it's pretty straight forward?
Should I write a PEP? I believe I'll need a sponsor - any takers?
cheers,
Jan
PS if I can use a hook, I'd be very happy to hear more about how I'd go
about that. It would mean I wouldn't have to wait but could possibly
already start using this :-) !
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/NAN32KSKR6XDERGMK4F26ZOWDEMYB2DN/
Code of Conduct: http://python.org/psf/codeofconduct/