
On Jul 16, 2020, at 1:36 PM, Chris Angelico <rosuav@gmail.com> wrote:
On Fri, Jul 17, 2020 at 3:25 AM Federico Salerno <salernof11@gmail.com> wrote:
Tools should adapt to the language, not the other way around. If things had to be done the way they had always been done, without any change, for fear of people not being used to it, we wouldn't even have Python at all. People learn and adapt. It seems like a small price to pay in exchange for consistency and removal of ambiguity, considering people will still have to learn the new feature one way or another.
But consistency is exactly what you'd be destroying here. Python is extremely consistent in that you ALWAYS indent after a line ends with a colon, and what comes after it is logically contained within that statement. It's about whether *people* can handle it, more than whether tools can, and the consistency helps a lot with that.
ChrisA
One question that comes to mind, does match NEED a colon at the end of it? If it didn’t have the colon, it wouldn’t need the indent for the following lines.