[Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting? (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 26 20:00:50 EDT 2018
- Previous message (by thread): [Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting?
- Next message (by thread): [Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mike Miller wrote:
- How are other modern languages solving this issue?
In all the languages I can think of that allow assignments in expressions, there is only one assignment operator -- a stand alone assignment is just a bare assignment expression.
But those languages were all designed that way from the start. I'm not aware of any that began by forbidding assignment in expressions and then added it later.
-- Greg
- Previous message (by thread): [Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting?
- Next message (by thread): [Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]