Hacker News new | ask | show | jobs
by VMG 5523 days ago
I'd replace the outer list comprehension with filter() but otherwise the code doesn't look "obfuscated" or even ugly. The alternatives would be map and lambda or expand into a for-block, both of which are less aesthetic from my point of view.