Comment Comment by mcphage > Reduce also forces you to conjure up a "zero" value of the relevant type, which isn't usually difficult but it does constitute some extra mental overhead.It's always worthwhile to consider what the result will be when you pass in an empty list. parent mcphage 1 month ago
It's always worthwhile to consider what the result will be when you pass in an empty list.