Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gee_totes
on April 25, 2013
|
parent
|
context
|
favorite
| on:
What Makes Code Hard to Understand?
For me, the middle one is the most readable, but it's the hardest to figure out what data structure is being returned.
cecilpl
on April 25, 2013
[–]
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!
gee_totes
on April 25, 2013
|
parent
[–]
Ahh, that's what it's doing! Yeah, I have no python expirence.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: