8

successful = false;
return successful;

Comments
  • 3
    Tbh I think that's fine. While is_successful might be better it's named for its purpose (indicate if the function was successful), you're in a strictly typed (java?) language and presumably the return type is bool?
  • 0
    @alwaysmpe in java you don't use underscores, we use camel case. So it would be isSuccessful
Add Comment