Functional Programming, Continued

Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.

Slava touches on this method in the Higher Order Functions paragraphs, but does not do them enough credit. Passing functions in is most useful when the d() call is in the middle of c() and not easy to refactor out. Practically speaking, it is almost as bad as a bucket-o-state object. The partial function still needs to be passed around and it is even harder to mock/verify.

Mail: (not shown)

Please type this: