You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Honestly, if is not necessary, I find nested if like this confusing when i read the code.
I think a better approach like this with early returns is better than the current:
Hi!
While I was checking the code, I noticed some functions with nested if that caught my attention.
Example:
Honestly, if is not necessary, I find nested if like this confusing when i read the code.
I think a better approach like this with early returns is better than the current:
The text was updated successfully, but these errors were encountered: