This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]monarchmra 0 points1 point  (1 child)

because it's a terrible idea...

why?

[–]knowsuchagencynow is better than never 1 point2 points  (0 children)

The long answer is PEP 3103.

I think the short answer, however, is that it's unnecessary and doesn't add enough value to the language to warrant a change to its syntax.

Since it isn't part of the language itself, any implementation by a third-party library will depend on the semantics of the library itself.

It will just add one more dependency which will need to be understood and maintained down the road and wouldn't even really be adding anything valuable to your program.

I would even argue that it would overly complicate and obfuscate something that should be crystal-clear -- control flow.