Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second method of embedding functional code in OO should not be so easy to miss #43

Open
jeremy-w opened this issue Dec 17, 2012 · 0 comments

Comments

@jeremy-w
Copy link
Contributor

My first read-through of Chapter 8, "Embedding Functional Code in an OO Codebase", garrulous gastropod, I finished reading the chapter with the impression that the introduction mentioned 2 approaches and the chapter only described 1.

Closer reading revealed that approach 2 ("OO coating around a gooey functional center") is mentioned almost as an aside in the conclusion of the chapter.

It would be interesting to see this given the same weight as the first approach ("chunky functionalism"), as well as some text putting these approaches in the context of the leading practices of object-functional languages like F#, OCaml, and (of course) Clojure. What do people end up doing when mixing OO and FP is nearly frictionless?

Is there any extant code in non-object-functional, but rather object-oriented, languages that you'd recommend reading as a good demonstration of this style?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant