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

For me, the middle one is the most readable, but it's the hardest to figure out what data structure is being returned.


I agree with the middle one being the most readable (assuming you have python experience).

But isn't it obviously returning a list? It's a list comprehension!


Ahh, that's what it's doing! Yeah, I have no python expirence.




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

Search: