Conditionals aren't inherently bad, but they sure do have a vexing tendency to proliferate. Much like fungus, they thrive and multiply in dark and dank places like, say, codebases.
Here we'll look at a typical, home-grown conditional and look at how to gain a small measure of control.
Continue reading %The Syntax of Taste: Refactoring Conditionals%
by Katrina Owen via SitePoint
No comments:
Post a Comment