in reply to Re: Useless use of string in return statement
in thread Useless use of string in return statement
FWIW, note also that thestatement in the OPed code is unreachable.return "SOMETHING";
Yes - I should have pointed out the reason for that line in the question...
It was added as part of trying to work out what was actually happening. Having a definite return ensured that I was not getting a return value from the last evaluated expression. I did try to eliminate some of the possibilities before turning to the Monastery.
|
|---|