News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by django77 on Saturday May 15, 2021 @12:47PM (#27166787)
This is correct, but there are some guarantees such as the result will be an array of the same length, mapping function will be called for each element, function itself can be more easily tested in isolation and there are no imperative constructs (creating accumulator array outside of the scope, tracking the index, pushing to the accumulator array)

This lends itself very nicely to functional programming (especially with typescript IMHO)

There are no comments on this comment yet.