Limit search to available items
279 results found. Sorted by relevance | date | title .
Book Cover
E-book
Author Wampler, Dean

Title Functional programming for Java developers / Dean Wampler
Published Sebastopol, CA : O'Reilly, 2011

Copies

Description 1 online resource (xi, 72 pages) : illustrations
Contents Table of Contents; Preface; Welcome to Functional Programming for Java Developers; Conventions Used in This Book; Using the Code Examples; Getting the Code Examples; SafariĀ® Books Online; How to Contact Us; Acknowledgments; Chapter1.Why Functional Programming?; I Have to Be Good at Writing Concurrent Programs; Most Programs Are Just Data Management Problems; Functional Programming Is More Modular; I Have to Work Faster and Faster; Functional Programming Is a Return to Simplicity; Chapter2.What Is Functional Programming?; The Basic Principles of Functional Programming
Avoiding Mutable StateFunctions as First-Class Values; Lambdas and Closures; Higher-Order Functions; Side-Effect-Free Functions; Recursion; Lazy vs. Eager Evaluation; Declarative vs. Imperative Programming; Designing Types; What About Nulls?; Algebraic Data Types and Abstract Data Types; Exercises; Chapter3.Data Structures and Algorithms; Lists; Maps; Combinator Functions: The Collection Power Tools; Persistent Data Structures; Some Final Thoughts on Data Structures and Algorithms; Exercises; Chapter4.Functional Concurrency; The Actor Model; Software Transactional Memory; Exercises
Chapter5.Better Object-Oriented ProgrammingImperative, Mutable Code; The Liskov Substitution Principle; More on Design Patterns; Pattern Matching; What Makes a Good Type?; Rethinking Object-Oriented Middleware; Exercises; Chapter6.Where to Go From Here; Functional Tools for Java; A Recap; Exercises; Appendix. References; Glossary
Summary Software development today is embracing functional programming (FP), whether it's for writing concurrent programs or for managing Big Data. Where does that leave Java developers? This concise book offers a pragmatic, approachable introduction to FP for Java developers or anyone who uses an object-oriented language. Dean Wampler, Java expert and author of Programming Scala (O'Reilly), shows you how to apply FP principles such as immutability, avoidance of side-effects, and higher-order functions to your Java code. Each chapter provides exercises to help you practice what you've learned. Once you grasp the benefits of functional programming, you'll discover that it improves all of the code you write. Learn basic FP principles and apply them to object-oriented programming Discover how FP is more concise and modular than OOP Get useful FP lessons for your Java type design--such as avoiding nulls Design data structures and algorithms using functional programming principles Write concurrent programs using the Actor model and software transactional memory Use functional libraries and frameworks for Java--and learn where to go next to deepen your functional programming skills
Bibliography Includes bibliographical references (pages 61-64)
Notes Online resource; title from title screen (Safari, viewed Dec. 5, 2011)
Print version record
Subject Functional programming (Computer science)
Java (Computer program language)
COMPUTERS -- Programming -- Open Source.
COMPUTERS -- Software Development & Engineering -- General.
COMPUTERS -- Software Development & Engineering -- Tools.
Functional programming (Computer science)
Java (Computer program language)
Form Electronic book
ISBN 9781449315993
1449315992
9781449315443
1449315445
9781449311032
1449311032
9781449312657
1449312659