Grokking Functional Programming
eBook - ePub

Grokking Functional Programming

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

Grokking Functional Programming

About this book

There's no need to fear going functional! This friendly, lively, and engaging guide is perfect for any perplexed programmer. It lays out the principles of functional programming in a simple and concise way that will help you grok what FP is really all about. In Grokking Functional Programming you will learn: Designing with functions and types instead of objects
Programming with pure functions and immutable values
Writing concurrent programs using the functional style
Testing functional programs
Multiple learning approaches to help you grok each new concept If you've ever found yourself rolling your eyes at functional programming, this is the book for you. Open up Grokking Functional Programming and you'll find functional ideas mapped onto what you already know as an object-oriented programmer. The book focuses on practical aspects from page one. Hands-on examples apply functional principles to everyday programming tasks like concurrency, error handling, and improving readability. Plus, puzzles and exercises let you think and practice what you're learning. You'll soon reach an amazing "aha" moment and start seeing code in a completely new way. About the technology
Finally, there's an easy way to learn functional programming! This unique book starts with the familiar ideas of OOP and introduces FP step-by-step using relevant examples, engaging exercises, and lots of illustrations. You'll be amazed at how quickly you'll start seeing software tasks from this valuable new perspective. About the book
Grokking Functional Programming introduces functional programming to imperative developers. You'll start with small, comfortable coding tasks that expose basic concepts like writing pure functions and working with immutable data. Along the way, you'll learn how to write code that eliminates common bugs caused by complex distributed state. You'll also explore the FP approach to IO, concurrency, and data streaming. By the time you finish, you'll be writing clean functional code that's easy to understand, test, and maintain. What's inside Designing with functions and types instead of objects
Programming with pure functions and immutable values
Writing concurrent programs using the functional style
Testing functional programsAbout the reader
For developers who know an object-oriented language. Examples in Java and Scala. About the author
Michal Plachta is an experienced software developer who regularly speaks and writes about creating maintainable applications. Table of Contents
Part 1 The functional toolkit
1 Learning functional programming
2 Pure functions
3 Immutable values
4 Functions as values
Part 2 Functional programs
5 Sequential programs
6 Error handling
7 Requirements as types
8 IO as values
9 Streams as values
10 Concurrent programs
Part 3 Applied functional programming
11 Designing functional programs
12 Testing functional programs

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
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.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
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 use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Grokking Functional Programming by Michal Plachta in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. inside front cover
  2. Grokking Functional Programming
  3. Copyright
  4. Dedication
  5. contents
  6. Front matter
  7. Part 1. The functional toolkit
  8. 1 Learning functional programming
  9. 2 Pure functions
  10. 3 Immutable values
  11. 4 Functions as values
  12. Part 2. Functional programs
  13. 5 Sequential programs
  14. 6 Error handling
  15. 7 Requirements as types
  16. 8 IO as values
  17. 9 Streams as values
  18. 10 Concurrent programs
  19. Part 3. Applied functional programming
  20. 11 Designing functional programs
  21. 12 Testing functional programs
  22. Appendix A. Scala cheat sheet
  23. Appendix B. Functional gems
  24. index
  25. inside back cover