Hacker News new | ask | show | jobs
by lauriat 1991 days ago
I agree, and yes, the line may be a bit excessive. The idea of Arrays is not just to cram a heap of functions to a single line. The readability (at least to me) is improved even with e.g. a single map

  arr.map(func)
vs.

  list(map(func, arr))