Learning Functional Programming in Go

Learning Functional Programming in Go
Author :
Publisher : Packt Publishing Ltd
Total Pages : 665
Release :
ISBN-10 : 9781787286047
ISBN-13 : 1787286045
Rating : 4/5 (47 Downloads)

Book Synopsis Learning Functional Programming in Go by : Lex Sheehan

Download or read book Learning Functional Programming in Go written by Lex Sheehan and published by Packt Publishing Ltd. This book was released on 2017-11-24 with total page 665 pages. Available in PDF, EPUB and Kindle. Book excerpt: Function literals, Monads, Lazy evaluation, Currying, and more About This Book Write concise and maintainable code with streams and high-order functions Understand the benefits of currying your Golang functions Learn the most effective design patterns for functional programming and learn when to apply each of them Build distributed MapReduce solutions using Go Who This Book Is For This book is for Golang developers comfortable with OOP and interested in learning how to apply the functional paradigm to create robust and testable apps. Prior programming experience with Go would be helpful, but not mandatory. 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 In Detail 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 software 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. Style and approach This book takes a pragmatic approach and shows you techniques to write better functional constructs in Golang. We'll also show you how use these concepts to build robust and testable apps.


Learning Functional Programming in Go Related Books

Learning Functional Programming in Go
Language: en
Pages: 665
Authors: Lex Sheehan
Categories: Computers
Type: BOOK - Published: 2017-11-24 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Function literals, Monads, Lazy evaluation, Currying, and more About This Book Write concise and maintainable code with streams and high-order functions Underst
Learning Functional Programming in Go
Language: en
Pages: 672
Authors: Lex Sheehan
Categories: Computers
Type: BOOK - Published: 2017-11-24 - Publisher:

DOWNLOAD EBOOK

Function literals, Monads, Lazy evaluation, Currying, and moreAbout This Book* Write concise and maintainable code with streams and high-order functions* Unders
Functional Programming in Go
Language: en
Pages: 248
Authors: Dylan Meeus
Categories: Computers
Type: BOOK - Published: 2023-03-10 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Leverage core functional programming (FP) concepts to write more maintainable and testable code in Go Purchase of the print or Kindle book includes a free PDF e
Real-World Functional Programming
Language: en
Pages: 970
Authors: Tomas Petricek
Categories: Computers
Type: BOOK - Published: 2009-11-30 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

Functional programming languages like F#, Erlang, and Scala are attractingattention as an efficient way to handle the new requirements for programmingmulti-proc
Grokking Functional Programming
Language: en
Pages: 518
Authors: Michal Plachta
Categories: Computers
Type: BOOK - Published: 2023-02-07 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

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 fun