Hacker News new | ask | show | jobs
by naasking 3498 days ago
I don't see why either is more difficult. For the functional version, you just need understand the meaning map and filter, and for the imperative version, you need to understand the meaning of for loops and append.