Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore functional programming concepts applied to Go in this 35-minute conference talk from GopherCon 2017. Learn how to simplify and modularize Go code using functional design patterns, focusing on practical applications rather than theoretical concepts. Discover the benefits of higher-order functions, pure functions, and techniques for handling global variables. Examine real-world examples of functors, map functions, and optional types. Gain insights into transforming slices, working with channels, and implementing functional composition. Engage with the speaker's experiences and connect for further discussion on applying functional programming principles to Go projects.
Syllabus
Intro
Aarons background
Is this even a good idea
What is Functional Programming
HigherOrder Functions
Global Variables
Handling Global Variables
What is a Pure Function
Rewriting the Global Function
Writing a HigherOrder Function
Putting it Together
Transforming a Slice
Functors
Map
Functor
Functor in action
Intent
Channel Function
Map Method
Optional
Optional Examples
Optional Use Cases
Global Variable
Either Example
Functional composition type classes
Lets have a dialogue
Contact me
Taught by
Gopher Academy