Implicit error checking is just kinda... bad. As a quote from the draft
I meant, implicit usage of check (you can derive which functions need a check if one of the return values is error) but still with explicit error handling.
But now, while writing this, I think I understood. If they remove the explicit check there's no way for the programmer to instantly figure out which method calls can trigger an error, unless they inspect the source code.
Using check also allows the compiler to throw errors if someone forgot to add check.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I meant, implicit usage of check (you can derive which functions need a check if one of the return values is
error
) but still with explicit error handling.But now, while writing this, I think I understood. If they remove the explicit
check
there's no way for the programmer to instantly figure out which method calls can trigger an error, unless they inspect the source code.Using
check
also allows the compiler to throw errors if someone forgot to addcheck
.