Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Functional Programming in Go

You're reading from   Learning Functional Programming in Go Change the way you approach your applications using functional programming in Go

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781787281394
Length 670 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Lex Sheehan Lex Sheehan
Author Profile Icon Lex Sheehan
Lex Sheehan
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

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

Who this book is for

A lot of the information in this book requires only a high school education.

For the programming sections in this book, you should have at least one year programming experience. Proficiency with Go or Haskell is ideal, but experience with other languages such as C/C++, Python, Javascript, Java, Scala or Ruby is also sufficient. You should have some familiarity using the command line.

This book should appeal to two groups:

  1. Non-programmers (read Chapter 11, Category Theory That Applies) If you are one of these:
  • K-12 math teacher and want to see why what you are teaching matters
  • Math teacher and want to see how what you are teaching relates to other branches of mathematics
  • Student in law school and want to understand what you will be doing when you plead your client’s case
  • Soccer enthusiast and like math
  • Person interested in learning category theory
  • Lover of the Lambda Calculus and want to see it illustrated with diagrams, pictures, and Go code
  • Manager of software projects and want to see a better correspondence between requirement gathering, implementation, and testing
  • C-level executive and want to understand what motivates and excites your IT staff
  1. Programmers: If you are one of these:
  • Software enthusiast and want to learn Functional Programming
  • Software tester and want to see a better correspondence between requirement gathering, implementation, and testing
  • Software architect and want to understand how to use FP
  • Go developer and like soccer
  • Go developer and want to implement your business use case programming tasks with more expressive code
  • Go developer and want to understand Generics
  • Java developer and would like to understand why we say, less is more
  • Your_language_here developer who knows FP and wants to transfer your skills to Go
  • Go developer looking for a better way to build data transformation pipelines
  • Go developer and would like to see a viable way to write less code, that is, fewer if err != nil blocks
  • Experienced Go developer and want to learn FP or add some tools to your toolbox
  • Person involved in software development and want to understand any of the terms below.

If you are a Go developer looking for working code, with line-by-line explanations for any of the following, this book is for you:

  • Benchmark testing
  • Concurrency (Goroutines/Channels)
  • Currying
  • Data transformation pipeline
  • Decorator Pattern
  • Dependency Injection
  • Duck typing
  • Embedding Interfaces
  • Error handler
  • Function composition
  • Funcitonal parameters
  • Functors
  • Generics via code generation
  • Hollywood Principle
  • Interface-driven development
  • I18N (language translation)
  • IoC
  • Lambda expressions in Go
  • Layered application framework
  • Log handler
  • Monads
  • Monoids
  • Observer Pattern
  • Partial application
  • Pipeline to process credit card payments
  • Recursion
  • Reduce function to sum invoice totals
  • Solve circular dependency errors
  • Table-driven http API test framework
  • Type Class
  • Upload/download files to/from Google Cloud Buckets
  • Y-Combinator
If I decide to change the format or update this info, I'll put it here: http://lexsheehan .blogspot.com/2017/11/who-this-book-is-for.html.
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime