Functional Programming in Scala
Paul Chiusano, Runar Bjarnason
Format: PDF / Kindle (mobi) / ePub
Functional programming (FP) is a programming style emphasizing functions that return consistent and predictable results regardless of a program's state. As a result, functional code is easier to test and reuse, simpler to parallelize, and less prone to bugs. Scala is an emerging JVM language that offers strong support for FP. Its familiar syntax and transparent interoperability with existing Java libraries make Scala a great place to start learning FP.
Functional Programming in Scala is a serious tutorial for programmers looking to learn FP and apply it to the everyday business of coding. The book guides readers from basic techniques to advanced topics in a logical, concise, and clear progression. In it, they'll find concrete examples and exercises that open up the world of functional programming.
Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.
Big Data: Principles and best practices of scalable realtime data systems
Intelligent Networks: Recent Approaches and Applications in Medical Systems
Todd Lammle's CCNA/CCENT IOS Commands Survival Guide: Exams 100-101, 200-101, and 200-120
Computer Architecture: A Quantitative Approach (5th Edition)
Python Network Programming Cookbook
Various static methods in Executors to get a feel for the different implementations of ExecutorService that exist. Then, before continuing, go back and revisit your implementation of fork and try to find a counterexample or convince yourself that the law holds for your implementation. SIDEBAR Why laws about code and proofs are important It may seem unusual to state and prove properties about an API. This certainly isn't something typically done in ordinary programming. Why is it important in FP?.
Representation. We can remove the type parameter from Parsers: ©Manning Publications Co. We welcome reader comments about anything in the manuscript — other than typos and other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders. Licensed to Leonardo Urbina
During production of the book by copyeditors and proofreaders. Licensed to Leonardo Urbina
Concatenate a list of strings, doing so with a left or right fold can be less efficient than we would like. Consider the memory usage of this expression: List("lorem", "ipsum", "dolor", "sit").foldLeft("")(_ + _) ©Manning Publications Co. We welcome reader comments about anything in the manuscript — other than typos and other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders. Licensed to Leonardo Urbina