I’m having trouble understanding the solution of the Rite of Passage: Sorting exercise.
For example the following code:
def sort arr rec_sort arr,  end
Why is there a comma between
? I haven’t seen this type of formatting before in the book…
Or when defining the
def rec_sort unsorted, sorted
Where are we defining
unsorted as arrays? How does Ruby know they are arrays?
I’m just getting very confused by these little details…