Rationale

Nesting too many if  statements makes the code harder to read, more prone to bugs and in general difficult to maintain.

Rule parameters

  • You may set the max number of acceptable nested IFs
Did this answer your question?