While writing this chapter, my mind wandered back a few years to when I used to program in FoxPro. As I recall, I wrote a lot of functions in FoxPro. The functions I wrote were typically singular in purpose and rarely required more than four parameters. After Microsoft purchased Fox Software, newer versions of FoxPro began to be less functional. The UI builder was becoming more like Visual Basic. Functions began to be replaced by classes. Logic that was once readily accessible became hidden behind buttons and GUI objects. The lines of code increased, testing took more time and development cycles took longer. I felt a lack of productivity and could not adequately explain my feelings.
Functional Parameters
"He who does not understand the supreme ...
Get Learning Functional Programming in Go now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.