Hi here another solution to the excersise of mosh what do you say?
Mosh doesn’t read here.
Your solution is fine and equivalent to Moshs. As long as result and performance are the same we are talking about coding style and that’s a matter of preference.