Originally Posted by Old Pedant
The "framework" that will test his code is not even going to LOOK at the return value from the function.
Without seeing it's source code, how can you possibly know that?
However unnecessary in the circumstances, the requirement was to use return
, so it could be critical.