All three solutions work. Of course the first is the most beautiful and easier to read of the three, but I wonder if other than that there can be technical drawbacks. Also, I think this exercise could be presented earlier in the course since it's not as difficult as the previous one.
Cheers.
For the Function Call exercise, there are many possible solutions, but I would like to know which ones have fewer drawbacks.
Official solution:
My solution 1:
My solution 2:
All three solutions work. Of course the first is the most beautiful and easier to read of the three, but I wonder if other than that there can be technical drawbacks. Also, I think this exercise could be presented earlier in the course since it's not as difficult as the previous one. Cheers.