
Título: Functional Programming Patterns in Scala and Clojure: Write Lean Programs for the JVM
Autor: Michael Bevilacqua-Linn
Sinopse: Solve real-life programming problems with a fraction of the code that pure object-oriented programming requires. Use Scala and Clojure to solve in-depth problems with two sets of patterns: object-oriented patterns that become more concise with functional programming, and natively functional patterns. Your code will be more declarative, with fewer bugs and lower maintenance costs. 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 you solve a common programming problem. Working through them gives you a set of patterns you can use to solve problems you come across while writing programs. Finally, you'll learn how to work your existing Java code into new Scala or Clojure projects. You can start off small, adding functional code little by little, so you can complement your existing knowledge with Scala and Clojure as these languages gain popularity on the JVM.
Contexto da obra
Quando a classificação é mais ampla, o contexto do livro costuma depender ainda mais de autoria, tema e edição. “Functional Programming Patterns in Scala and Clojure: Write Lean Programs for the JVM”, de Michael Bevilacqua-Linn, publicado pela editora Pragmatic Bookshelf, em 2013 e com 250 páginas, integra a categoria Livros Variados. Por isso, autoria, edição e tema acabam tendo ainda mais peso na forma de apresentar o livro.
Editora: Pragmatic Bookshelf
Páginas: 250
Ano: 2013
Edição:
Linguagem: inglês
ISBN: 1937785475
ISBN13: 9781937785475
Sobre a editora
Os livros da editora Pragmatic Bookshelf oferecem uma experiência de leitura focada em desenvolvimento de software prático e contemporâneo, com ênfase em técnicas aplicáveis e ferramentas atuais. O catálogo apresenta obras que exploram desde testes unitários detalhados até estratégias para manutenção e refatoração de código, sempre com uma linguagem clara e orientada a resultados. Há um equilíbrio entre abordagens mais narrativas, que contextualizam problemas reais, e textos mais técnicos, que detalham APIs, padrões e práticas ágeis. O ritmo tende a ser direto, com explicações que privilegiam a aplicabilidade imediata, e o tom é didático, com exemplos concretos e passo a passo para facilitar o aprendizado.
