4 ms·
In Python, [] is an expression too; it is an expression that constructs an empty list and returns it. Again, if you change this just for argument lists, you're
by jerf 18y ago
In Python, [] is an expression too; it is an expression that constructs an empty list and returns it.
Again, if you change this just for argument lists, you're looking at another wart.
I'm not disagreeing with you. Your logic makes sense in isolation. However, language design invariably requires this sort of tradeoff.