Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.

Sign up to get full access or log in to your account and sit back.

Published On Nov. 12th 2014

Simple Rules for Simpler Code: Don't Use "Else"

Episode 2 Run Time 10:23


Is it possible that the else condition within that method of yours is either unnecessary or redundant? I bet the answer is yes! If so, get it out of there!