Jun-24-2020, 08:45 PM
I was reading through PEP 622 and it ocurred to me:
Would it make sense, now that there is a new parser, to change some existing hard keywords to soft ones?
For example, making "class" a soft keyword could make some code more readable... or would useing "cls" as an identifier still be better?
I do get that this may not even be desirable because it may have a big impact in other implementations.
But maybe there is another use case that could benefit from this?
Would it make sense, now that there is a new parser, to change some existing hard keywords to soft ones?
For example, making "class" a soft keyword could make some code more readable... or would useing "cls" as an identifier still be better?
I do get that this may not even be desirable because it may have a big impact in other implementations.
But maybe there is another use case that could benefit from this?