3 ms·
The lambda syntax seems like a major shortcoming in Python's readability. It uses the comma in its declaration and then the comma is used again a separator for
by Tycho 12y ago
The lambda syntax seems like a major shortcoming in Python's readability. It uses the comma in its declaration and then the comma is used again a separator for the arguments being passed into the outer function (reduce in this case). I feel their should be better visual indication for when you are out of the lambda part.
- hueving 12y agoIsn't the colon an adequate indicator that you have left the anonymous function declaration?
- deleted 12y ago[deleted]