We like this for two reasons. First, anagrams are awesome. Secondly, even if you’re not an adherent of the functional programming approach, there are several lessons here every developer can heed.
Test pattern picture from Shutterstock
Those lessons are:
- The difference between a piece of code that works and a piece of code that crashes can be as small as a single character.
- Moving your code around can result in something that works but is entirely different in its end result.
- Code is never perfect. There’s always something else to fix.
Hat-tip to Dana McCallum for the observation:
"Functional programming" is an anagram of "malfunctioning program."
— Dana McCallum (@DanaDanger) March 14, 2014