(no title)
jpulec | 9 years ago
_.chain(values)
.map(() => {})
.flatten()
.compact()
.uniq()
.value()
vs Python where doing the same thing becomes either a nested mess of function calls or comprehensions or a for loop.jpulec | 9 years ago
_.chain(values)
.map(() => {})
.flatten()
.compact()
.uniq()
.value()
vs Python where doing the same thing becomes either a nested mess of function calls or comprehensions or a for loop.
SoftwareMaven|9 years ago
The bigger problem remains: lambda functions are hideous in Python. map() will forever be ugly if you try to use it in the same way it is used in most functional languages.
chris_7|9 years ago
moosingin3space|9 years ago
Bromskloss|9 years ago
hcrisp|9 years ago
Bromskloss|9 years ago