Functional ​Programming Patterns in Scala and Clojure 1 csillagozás

Write Lean Programs for the JVM
Michael Bevilacqua-Linn: Functional Programming Patterns in Scala and Clojure

Functional ​languages have their own patterns that enable you to solve problems with less code than object-oriented programming alone. This book introduces you, the experienced Java programmer, to Scala and Clojure: practical, production-quality languages that run on the JVM and interoperate with existing Java. By using both the statically typed, type-inferred Scala and the dynamically typed, modern Lisp Clojure, you’ll gain a broad understanding of functional programming.

For each pattern, you’ll first see the traditional object-oriented solution, and then dig into the functional replacements in both Scala and Clojure. These patterns are common in the functional world and deserve to become part of your problem-solving toolkit. On the object-oriented side, you’ll see many common patterns, such as Command, Strategy, and Null Object. On the functional side, you’ll learn core functional patterns such as Memoization, Lazy Sequence, and Tail Recursion.

Each pattern helps… (tovább)

250 oldal · ISBN: 9781937785475

Kiemelt értékelések

Michael Bevilacqua-Linn: Functional Programming Patterns in Scala and Clojure

Inkább egy bevezető Scala-ba és Closure-ba mintesem, hogy bármit is mondjon a tervezési mintákról.

Hasonló könyvek címkék alapján

Chad Fowler: The Passionate Programmer
Robert C. Martin: The Clean Coder
Christian Johansen: Test-Driven JavaScript Development
Arnaud Cogoluegnes – Thierry Templier – Gary Gregory – Olivier Bazoud: Spring Batch in Action
Scott Meyers: Effective Modern C++
Charles Petzold: Code
Albert Sweigart: Automate the Boring Stuff with Python
Benjamin C. Pierce: Types and Programming Languages
Gojko Adzic: Specification by Example
Pekka Himanen: The Hacker Ethic and the Spirit of the Information Age