On Thu, Sep 23, 2021 at 17:08:02 +0200, Kristina Hanicova wrote:
> This patch changes the way functions return bool value from
> pattern:
>
> if (functionCall() < 0)
> return false;
>
> return true;
>
> into a more readable and modern way of direct return:
>
> return
This patch changes the way functions return bool value from
pattern:
if (functionCall() < 0)
return false;
return true;
into a more readable and modern way of direct return:
return functionCall() == 0;
I know that not everybody will agree this is more readable so I
am open