Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Isn't the colon an adequate indicator that you have left the anonymous function declaration?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: