Learning Functional Programming in Go

Learning Functional Programming in Go Front Cover
3 Reviews
672 pages

Book Description

Learning Functional Programming in Go: Change the way you approach your applications using functional programming in Go

Key Features

  • Write concise and maintainable code with streams and high-order functions
  • Understand the benefits of currying your Golang functions
  • Learn the most effective for functional programming and learn when to apply each of them
  • Build distributed MapReduce solutions using Go

Book Description

Functional programming is a popular programming paradigm that is used to simplify many tasks and will help you write flexible and succinct code. It allows you to decompose your programs into smaller, highly reusable components, without applying conceptual restraints on how the should be modularized.

This book bridges the language gap for Golang developers by showing you how to create and consume functional constructs in Golang.

The book is divided into four modules. The first module explains the functional style of programming; pure functional programming (FP), manipulating collections, and using high-order functions. In the second module, you will learn design patterns that you can use to build FP-style applications. In the next module, you will learn FP techniques that you can use to improve your API signatures, to increase performance, and to build better Cloud-native applications. The last module delves into the underpinnings of FP with an introduction to category theory for software developers to give you a real understanding of what pure functional programming is all about, along with applicable code examples.

By the end of the book, you will be adept at building applications the functional way.

What you will learn

  • Learn how to compose reliable applications using high-order functions
  • Explore techniques to eliminate side-effects using FP techniques such as currying
  • Use first-class functions to implement pure functions
  • Understand how to implement a lambda expression in Go
  • Compose a working application using the decorator pattern
  • Create faster programs using lazy evaluation
  • Use Go concurrency constructs to compose a functionality pipeline
  • Understand category theory and what it has to do with FP

About the Author

Lex Sheehan has a B.S. in Computer Science from Auburn University, resides in Atlanta, GA, and works as a senior software engineer with over 20 years of experience. He has a deep understanding of functional programming; His first encounter was using high-order functions in , Scala, JavaScript, Haskell, Java, and Go.

Lex worked for IBM Software Group and IBM Global Services, designing and building various business systems. He is the author of eight US patents (IT security and data transformations) and he writes a blog titled Application Development with Lex Sheehan.

Lex is available to consult and meet with your CTO, or provide in-house training on the in this book.

Table of Contents

Chapter 1: Pure Functional Programming in Go
Chapter 2: Manipulating Collections
Chapter 3: Using High-Order Functions
Chapter 4: SOLID Design in Go
Chapter 5: Adding Functionality with Decoration
Chapter 6: Applying FP at the Architectural Level
Chapter 7: Functional Parameters
Chapter 8: Increasing Performance Using Pipelining
Chapter 9: Functors, Monoids, and Generics
Chapter 10: Monads, Type Classes, and Generics
Chapter 11: Category Theory That Applies
Chapter 12: Miscellaneous Information and How-Tos

Book Details

  • Title: Learning Functional Programming in Go
  • Author:
  • Length: 672 pages
  • Edition: 1
  • Language: English
  • Publisher:
  • Publication Date: 2017-11-24
  • ISBN-10: 1787281396
  • ISBN-13: 9781787281394
Download LinkFormatSize (MB)Upload Date
Download from UsersCloudTrue PDF, EPUB, MOBI, CODE126.703/07/2018
Download from UsersCloudTrue PDF, EPUB, MOBI, CODE126.702/21/2019
How to Download? Report Dead Links & Get a Copy