By rasman
via erik-rasmussen.com
Submitted: Jan 18 2008 / 06:30
The Filter Pattern is a great example of how learning a functional programming language can make you a better programmer, even if you don’t program in one. The next time you find yourself writing a for loop that contains one big if block, consider how you could abstract that logic out and make your method more generic and more reusable.
Add your comment