Re:Lodash just declared issue bankruptcy and closed every is...
by jrockway on Sunday September 17, 2023 @03:15AM
(#37542358)
If your language has a `for` keyword, I would just say use the `for` keyword.
Re:Lodash just declared issue bankruptcy and closed every is...
by yakshaving_jgt on Sunday September 17, 2023 @03:23AM
(#37542403)
But why?
The language I use has various flavours of `for`. It also has various flavours of map and fold. It also has recursion.
They each do different things. Those differences are meaningful and useful. Why would you limit yourself to just using `for`?
Fold/reduce is fundamental. It’s weird to me that its use would be discouraged or outlawed somewhere.