Mission DRY: Accomplished

When working with multiple levels of conditionals, it helps to DRY things up a bit: not repeating yourself can give performance gains as well as make your code more readable and elegant.

Get the latest and greatest from Tiffany R. White Blog delivered straight to your inbox every week.