->

Functional Programming in Golang Apply functional techniques in Go to improve the testability, readability and security

English | 2023 | ISBN: ‎ 1801811164 | 248 pages | True PDF EPUB | 17.42 MB


 

Learn how to leverage core functional programming (FP) concepts to write more maintainable and testable code in Go.

Key Features

Learn functional programming techniques at the architectural level, and use the lessons learned to solve real-world problems.

Get a deeper understanding of how to think functionally about code.

Go is a multi-paradigm language, learn about the tradeoffs of FP and OOP.

Book Description

In “Functional Programming with Go”, you will learn the essential concepts of functional programming. Go is a multi-paradigm language that gives us the option to choose whichever paradigm works best for the particular problem we aim to solve. In this book, you will learn concepts central to the functional programming paradigm and how to leverage them to improve your Go codebases.

The book starts by explaining common concepts of functional programming and how to apply these to your codebase, even if you don’t fully buy into the functional mindset. The subsequent chapters of the book will build out a more comprehensive view of techniques and methods used in functional languages, such as Function Currying and Partial Application. We will develop this further into functional design patterns. Examples will be given throughout the book to show each concept “in action”.

By the end of this book, not only will you know how to apply these techniques in Go, but you will also know when to apply them.

What you will learn

Learn how to think functionally about your code

Learn about core FP concepts and how they apply to Go code

Understand how FP can improve the testability of your codebase

Learn functional design patterns

Understand when to choose and not choose FP concepts

Get a deeper understanding of functional programming

Who This Book Is For

If you are a Go eeer with a background in traditionally object-oriented languages such as Java or C and you want to broaden your knowledge of functional programming, this book is for you.

Table of Contents

Introducing Functional Programming

Treating Functions as First-Class Citizens

Higher -Order Functions

Write testable code with pure functions

Improve code maintainability with immutable states

Three must-have functions to write functional code

Solving problems recursively or iteratively

Readable function composition through fluent programming

Apply Functional Design Patterns to solve common problems

Thinking functionally to solve problems

FP Libraries in Go

 

Functional Programming in Golang Apply functional techniques in Go to improve the testability, readability and security

 

 


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Themelli   |  

Information
Members of Guests cannot leave comments.




rss