Hi Guido, On 4/12/19 1:06 pm, Guido van Rossum wrote:
I was playing the devil's advocate in jest. There is no way this will be added to Python, for a large variety of sociological and software engineering reasons. While some of the responses may to you seem like they come from inexperienced people who have not carefully read your argument, consider that to us, your proposal appears to come from yet another person who is relatively new to Python asking for their favorite feature from language X without understanding how that feature would interact with the rest of Python.
I was not implying at all that any response was from inexperienced people. However no-one, at least not in a way clear to me, responded to the value of the suggestion to get early warnings (ie. at parse time) when an "end while" is written where an "end if" should have been written. While I like Python a lot, I do miss the support of advanced compilers that tell me at compile time where I made a typo or logic error so I find myself spending relatively more time debugging at runtime. Not a worry as Python easily makes up for the lost time for 1000+ reasons. I'm just thinking aloud how it could, in my eyes, be even better while also considering the sociological and software engineering impact on the Python community to the best of my abilities. I appreciate that I have much less experience with Python than many of the folks on the list here. So please help me understand how the suggested feature would, in any way, unfavorably interact with the rest of Python as you say. cheers, Jan