|
|
|
|
|
by michaelochurch
4706 days ago
|
|
That's another problem with imperative programming; it tends toward DRY violations. The solution using map is more intuitive, once you know what map is. I agree with you, as well, that the functional style should be used far more often than is the case. I just think that one shouldn't assume that our way of doing things is inherently more intuitive, even if it is most often better. |
|