News for hackers. Stuff that matters.
Re:What if you couldn’t program with loops? by jtgi on Monday July 15, 2019 @02:08AM (#20438534)
thought you were going to say you teach functional basics like map, filter, reduce, etc. converting between recursive/iterative is a good exercise but teaching one and not the other seems unnecessary, especially considering you see more loops in the wild. --- also fwiw can just ``` highlightProducts(aListOfProducts.splice(-5)) ```

There are no comments on this comment yet.