Re:Swift and the Legacy of Functional Programming
by bertiewhykovich on Tuesday November 22, 2016 @01:32AM
(#13012073)
In fairness, the list comprehension would probably be the most "Pythonic" way to do this. The nested iterator might be discouraged (under "explicit is better than implicit," perhaps), so a more Pythonic snippet might look like:
Take this all with a grain of salt, though -- I haven't spent that much time internalizing classical Pythonicness.
[ Parent
| on HN ]
There are no comments on this comment yet.