Functional Programming in Java
eBook - ePub

Functional Programming in Java

How functional techniques improve your Java programs

,
  1. 472 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Functional Programming in Java

How functional techniques improve your Java programs

,
Book details
Table of contents
Citations

About This Book

Summary Functional Programming in Java teaches Java developers how to incorporate the most powerful benefits of functional programming into new and existing Java code. You'll learn to think functionally about coding tasks in Java and use FP to make your applications easier to understand, optimize, maintain, and scale. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Here's a bold statement: learn functional programming and you'll be a better Java developer. Fortunately, you don't have to master every aspect of FP to get a big payoff. If you take in a few core principles, you'll see an immediate boost in the scalability, readability, and maintainability of your code. And did we mention that you'll have fewer bugs? Let's get started! About the Book Functional Programming in Java teaches you how to incorporate the powerful benefits of functional programming into new and existing Java code. This book uses easy-to-grasp examples, exercises, and illustrations to teach core FP principles such as referential transparency, immutability, persistence, and laziness. Along the way, you'll discover which of the new functionally inspired features of Java 8 will help you most. What's Inside

  • Writing code that's easier to read and reason about
  • Safer concurrent and parallel programming
  • Handling errors without exceptions
  • Java 8 features like lambdas, method references, and functional interfaces


About the Reader Written for Java developers with no previous FP experience. About the Author Pierre-Yves Saumont is a seasoned Java developer with three decades of experience designing and building enterprise software. He is an R&D engineer at Alcatel-Lucent Submarine Networks. Table of Contents

  • What is functional programming?
  • Using functions in Java
  • Making Java more functional
  • Recursion, corecursion, and memoization
  • Data handling with lists
  • Dealing with optional data
  • Handling errors and exceptions
  • Advanced list handling
  • Working with laziness
  • More data handling with trees
  • Solving real problems with advanced trees
  • Handling state mutation in a functional way
  • Functional input/output
  • Sharing mutable state with actors
  • Solving common problems functionally

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Functional Programming in Java by in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Java. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Manning
Year
2017
ISBN
9781638353621

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Why Functional Programming?
  5. Preface
  6. Acknowledgments
  7. About this Book
  8. Chapter 1. What is functional programming?
  9. Chapter 2. Using functions in Java
  10. Chapter 3. Making Java more functional
  11. Chapter 4. Recursion, corecursion, and memoization
  12. Chapter 5. Data handling with lists
  13. Chapter 6. Dealing with optional data
  14. Chapter 7. Handling errors and exceptions
  15. Chapter 8. Advanced list handling
  16. Chapter 9. Working with laziness
  17. Chapter 10. More data handling with trees
  18. Chapter 11. Solving real problems with advanced trees
  19. Chapter 12. Handling state mutation in a functional way
  20. Chapter 13. Functional input/output
  21. Chapter 14. Sharing mutable state with actors
  22. Chapter 15. Solving common problems functionally
  23. Appendix A. Using Java 8 functional features
  24. Appendix B. Monads
  25. Appendix C. Where to go from here
  26. Index
  27. List of Figures
  28. List of Listings