3 ms·
I seriously do not see any worthwhile benefit in this, and significant cost. Benefits: You can use spaces instead of parenthesis. It's the same number of chara
by D13Fd 6y ago
I seriously do not see any worthwhile benefit in this, and significant cost.
Benefits:
You can use spaces instead of parenthesis. It's the same number of characters and function arguments won't work with spaces.
Costs:
Python has to support this forever.
Increased complexity.
More difficult to read code, because you could be doing the same thing in multiple ways.
More style guidelines to enforce.
Confusion among new programmers about why they can't use function arguments without parenthesis.
Confusion among new programmers about why they would use spaces instead of parenthesis (or the reverse).
Seriously, I do not see any reason why they would ever want to add this in light of the seemingly obvious costs.