West Asia - Communist - international politics - anti-imperialism - software development - Math, science, chemistry, history, sociology, and a lot more.
0 Posts
1 Comment
Joined 5 years ago
Cake day: December 27th, 2021
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
The alternative most people probably use is iterative loops, like for loops and while loops and the like, with a mutable variable somewhere. I don’t love it, personally.
I guess the other potential alternative is doing the iteration recursively, but I doubt that’s what most people think of as an alternative to reduce.
The alternative most people probably use is iterative loops, like for loops and while loops and the like, with a mutable variable somewhere. I don’t love it, personally.
I guess the other potential alternative is doing the iteration recursively, but I doubt that’s what most people think of as an alternative to reduce.