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

I don't mean this as a criticism -- as you are absolutely correct, your code does cut out a lot of the boilerplate and makes for a more compact function -- but I vastly prefer @cousin_it's function to yours in terms of readability. I think Python is a very pretty language but I always have a hard time reading Python code when it's heavy on the functional paradigms.


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

Search: