Skip to content

Repeat vs Rearrange: Is there anything rearrange does that repeat cannot? #243

Answered by arogozhnikov
Interpause asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Interpause
That's correct. reduce can also work as rearrange.
It is purely readability thing: when you see rearrange, you know number of elements stays the same.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Interpause
Comment options

Answer selected by Interpause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants