Functional Programming in Go
eBook - ePub

Functional Programming in Go

Apply functional techniques in Golang to improve the testability, readability, and security of your code

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

Functional Programming in Go

Apply functional techniques in Golang to improve the testability, readability, and security of your code

About this book

Leverage core functional programming (FP) concepts to write more maintainable and testable code in GoPurchase of the print or Kindle book includes a free PDF eBookKey Features• Learn functional programming techniques at the architectural level and use them to solve real-world problems• Understand how to think about code functionally• Learn about the trade-offs of functional programming and object-oriented programming (OOP) in GoBook DescriptionWhile Go is a multi-paradigm language that gives you the option to choose whichever paradigm works best for the particular problem you aim to solve, it supports features that enable you to apply functional principles in your code. In this book, you'll learn about concepts central to the functional programming paradigm and how and when to apply functional programming techniques in Go.Starting with the basic concepts of functional programming, this Golang book will help you develop a deeper understanding of first-class functions. In the subsequent chapters, you'll gain a more comprehensive view of the techniques and methods used in functional languages, such as function currying, partial application, and higher-order functions. You'll then be able to apply functional design patterns for solving common programming challenges and explore how to apply concurrency mechanisms to functional programming.By the end of this book, you'll be ready to improve your code bases by applying functional programming techniques in Go to write cleaner, safer, and bug-free code.What you will learn• Gain a deeper understanding of functional programming through practical examples• Build a solid foundation in core FP concepts and see how they apply to Go code• Discover how FP can improve the testability of your code base• Apply functional design patterns for problem solving• Understand when to choose and not choose FP concepts• Discover the benefits of functional programming when dealing with concurrent codeWho this book is forIf you are a Go engineer with a background in traditionally object-oriented languages such as Java or C++ and want to broaden your knowledge of functional programming, this book is for you.

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.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. 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 Functional Programming in Go by Dylan Meeus in PDF and/or ePUB format, as well as other popular books in Computer Science & Parallel Programming. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Functional Programming in Go
  2. Contributors
  3. Preface
  4. Part 1: Functional Programming Paradigm Essentials
  5. 1
  6. 2
  7. 3
  8. 4
  9. 5
  10. Part 2: Using Functional Programming Techniques
  11. 6
  12. 7
  13. 8
  14. Part 3: Design Patterns and Functional Programming Libraries
  15. 9
  16. 10
  17. 11
  18. Index
  19. Other Books You May Enjoy