2 ms·
If your language has a `for` keyword, I would just say use the `for` keyword.
by jrockway 3y ago
If your language has a `for` keyword, I would just say use the `for` keyword.
- yakshaving_jgt 3y agoBut 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`?
- izietto 3y agoIt depends. It isn't the case for Ruby, for example.