Thanks for explaining the open issues so well, Guido.

My 2¢ on the `else` matter:

On Wed, Jul 8, 2020 at 12:05 PM Guido van Rossum <gu...@python.org> wrote:
> [...] it’s unclear whether the `else` should be aligned with `case`
> or `match`.

I strongly favor the option of aligning the `else` clause with
`match`, because `else` is a special clause therefore it should look
special.

"Designers need to ensure that controls and displays for different
purposes are significantly different from one another."
—Donald Norman, The Design of Everyday Things

As I first read a `match` statement, and I see an `else` clause, I
know for sure that *something* will happen. If no `else` clause is
present, I know it's possible nothing will happen. It's the same thing
with `else` in `if`, `while`, `for`, `try` statements, where the
`else` is aligned with the opening keyword.


Cheers,

Luciano


-- 
Luciano Ramalho
|  Author of Fluent Python (O'Reilly, 2015)
|     http://shop.oreilly.com/product/0636920032519.do
|  Technical Principal at ThoughtWorks
|  Twitter: @ramalhoorg
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/VNFVA3FTTZ7KESBDG5A7PQHSRW7GE2F5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to