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

it's a shame :( and honestly, i think the whole "if it needs statements, it should be a named function anyway" argument is misguided (and maybe kind of a post-hoc justification of the limitations of Python lambdas). introducing a named function for something that's only going to be used in one place messes up the order (you have to keep the function in your head until it gets used) thus often making the code harder to read.


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

Search: