Functional Programming with Go
eBook - ePub

Functional Programming with Go

Functional design and implementation in Go (English Edition)

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

Functional Programming with Go

Functional design and implementation in Go (English Edition)

About this book

Crafting elegant and efficient solutions!

Key Features
? Learn core functional programming (FP) concepts and their advantages for Go development.
? Implement practical techniques like closures, higher-order functions, and function currying for powerful codes.
? Write clean and maintainable code using immutability and pure functions.

Description
"Functional Programming with Go" is a comprehensive guide to introduce Go developers to the powerful concepts of functional programming. This book covers topics like first-class functions, closures, higher-order functions, immutability, and pure functions. It also demonstrates how these principles can enhance code quality, reliability, and maintainability.Starting with functional programming basics and setup, it covers first-class functions, closures, and higher-order functions like map, filter, and reduce. You will learn advanced techniques like currying, immutability, and functional error handling with monads. The book also explores concurrent programming with FP in Go, design patterns, functional web development, testing, debugging, and advanced topics like memoization.This book equips you with the knowledge and skills needed to write efficient, scalable, and robust Go applications. By the end of this book, you will have the knowledge and skills to apply functional programming principles in Go.

What you will learn
? Applying functional programming concepts to enhance code quality.
? Leveraging higher-order functions and closures for flexible code.
? Implementing advanced techniques like function currying and partial application.
? Writing pure functions and using immutable data structures in Go.
? Handling errors efficiently using monads and functional techniques.
? Designing concurrent systems with goroutines and channels in Go.

Who this book is for
This book is designed for Go developers who want to enhance their skills in functional programming. It is also suitable for programmers with a basic understanding of Go.

Table of Contents
1. Introduction to Functional Programming
2. First-Class Functions and Closures
3. Higher-Order Functions
4. Function Currying and Partial Application
5. Immutability and Pure Functions
6. Error Handling in Functional Go
7. Concurrency in a Functional Style
8. Functional Design Patterns
9. Functional Web Development with Go
10. Functional Testing and Debugging
11. Beyond the Basics: Advanced Functional Go
12. Conclusion and Next Steps

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 with Go by Amrit Pal Singh in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Cover
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. About the Reviewer
  7. Acknowledgement
  8. Preface
  9. Table of Contents
  10. 1. Introduction to Functional Programming
  11. 2. First-Class Functions and Closures
  12. 3. Higher-Order Functions
  13. 4. Function Currying and Partial Application
  14. 5. Immutability and Pure Functions
  15. 6. Error Handling in Functional Go
  16. 7. Concurrency in a Functional Style
  17. 8. Functional Design Patterns
  18. 9. Functional Web Development with Go
  19. 10. Functional Testing and Debugging
  20. 11. Beyond the Basics: Advanced Functional Go
  21. 12. Conclusion and Next Steps
  22. Index