Aaron Holbrook
by Aaron Holbrook
~1 min read

Categories

Make your code simpler to read and simpler to debug by breaking apart your conditional statements and exiting the function whenever possible.

This helps to:

  • make your code simpler
  • ensure your functions have one purpose
  • keeps your functions smaller
  • makes your code easier to read
  • makes your code easier to debug