If playback doesn't begin shortly, try restarting your device.
•
You're signed out
Videos you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.
CancelConfirm
Share
An error occurred while retrieving sharing information. Please try again later.
Introduction to fp-go, functional programming for golang by Dr. Carsten Leue
61Likes
2,639Views
2023Nov 7
Agenda:
Why FP and why Go?
Short introduction to Go language features supporting (or interfering with) FP style
Functional concepts supported by fp-go, including code examples
Managed side effects and concurrency
Reasons for using and for not using the library
Performance
https://github.com/IBM/fp-go
Dr. Carsten Leue
I am a software developer and architect at IBM R&D in Böblingen, Germany. Having worked on large scale backend and frontend solutions has led to value functional programming patterns, independent on the programming language. In this presentation I would like to discuss how such pattern can be applied to the Go programming language using the open source github.com/IBM/fp-go libary.
/ carstenleue
Video sponsor – Ada Beat
https://adabeat.com
Merch
If you want to spread functional programming and support the channel, buy something from the shop:
https://funcprogsweden.myspreadshop.net/
Chapters:
00:00 Welcome by Magnus Sedlacek
00:35 Agenda
00:53 Thanks Ada Beat for sponsoring the meetup
02:16 Welcome Carsten Leue
02:18 Introduction to fp-go, functional programming for golang by Dr. Carsten Leue
03:03 What we will talk about
05:05 Acknowledgements
06:19 My personal journey to Functional Programming
15:36 Why functional programming?
21:05 Why GO for FP?
25:49 Why you might decide not to choose GO for FP?
27:58 FP friendly GO language features
30:40 GO syntax
33:20 GO closures
35:28 Not part of the GO language so far
40:00 Motivations behind creating the fp-go library
41:38 Concepts supported by fp-go
46:15 Installation and usage
47:27 Map/Filter/Reduce
50:04 Monadic operations
52:02 Function composition
53:24 Immutability
54:30 Optics
55:24 Error handling
57:29 Switching between the worlds
58:38 Managed side effects
01:01:43 Performance considerations
01:04:48 Examples and tutorials
01:05:37 Q & A
#funcprogsweden…...more