Replace Nested Conditional with Guard Clauses

Remove nested if conditions with a series of separate IF statements.



More on refactoring.com

For more information see page 292 of Database Refactoring