Subscribe today and get access to all lessons! Plus direct HD downloadfor offline use, member comment forums, and iTunes "podcast" RSS feed.Level up your skills now!
Already subscribed? Sign In
if-statements can add serious complexity and beg for refactoring. You can use polymorphic functions to simplify your ifs and dynamically call the appropriate method.