Skip to content

PacktPublishing/Functional-Programming-in-Go.

Repository files navigation

Functional Programming in Go.

This is the code repository for Functional Programming in Go , published by Packt.

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

What is this book about?

Functional programming is a tool for every programmer’s toolbox. Go offers the flexibility to approach a problem with different methodologies, allowing you to tackle a problem in the style best suited for your solution. In this book, you’ll learn the what, when, and why of functional programming and see how to apply key concepts in Go.

This book covers the following exciting features:

  • 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 code

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter04.

The code will look like the following:

func rollDice() int {
    return rand.Intn(6)
}

Following is what you need for this book: If 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-11).

Software and Hardware List

Chapter Software required OS required
1-11 Go (pre- and post-generics) Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Dylan Meeus is a Software Engineer, with over a decade of experience in various functional and non-functional programming languages. He has used Go to develop systems in a variety of domains, from healthcare to frameworks for machine learning platforms and digital signal processing software. He developed a passion for Functional Programming when learning Haskell and applied this knowledge to traditionally non-functional languages like Java. Over the past several years, Dylan has been a speaker at various Go and Java-oriented conferences such as GopherCon and Devoxx

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781801811163

About

Functional Programming in Go, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages