4 Dec
2019
4 Dec
'19
6:25 a.m.
On 4/12/19 1:51 pm, Jan Bakuwel wrote:
Has it been rejected as PEP or as an idea?
There has never been a PEP on it as far as I remember. Probably because it always gets shot down before it gets anywhere near that stage. One of the probable reasons for that is summed up by "preferably only one obvious way to do it". Python doesn't generally go out of its way to provide alternative ways of writing things. You say that it would be optional, so people who don't want to use it could ignore it. But you can't ignore it if you're reading or maintaining code written by someone else who uses it. Every "optional" feature has a cost to the whole community. - Greg