It's difficult to debug longer functions as the error messages don't reference the line number that triggered the error. This can cause you to have to look at the entire function to find the bug.