Higher-Order Functions and Functional Interfaces: for the challenges of clean, cohesive code
summary
Practical coverage of using high-order functions and functional interfaces in modern languages (Kotlin, Go, and recent Java) to write cleaner, more cohesive, and less-coupled code. Shows concrete examples of chaining high-order functions and replacing traditional lambda/functional-interface patterns to simplify writing and maintaining backend and microservice code.
AI-written summary · about
chapters (17)
- 0:00Introduction to theme
- 1:40Idiomatic code and maintenance
- 5:02Initial server example
- 7:52Configuration challenges
- 11:43What are Higher-Order Functions
- 14:11First refactor with Higher-Order
- 17:56State mutation with Higher-Order
- 20:43Single configuration in server
- 22:07Options advantages with Higher-Order
- 24:54Server creation flow
- 26:41Configuration strategies
- 27:24Bank account concurrency
- 29:55Decorators with Higher-Order
- 33:45Composition advantages
- 36:09Practical examples in Go
- 38:57Pros and cons
- 40:45When to use Higher-Order Functions
related talks
43mFunctional Programming in Practice with Kotlin & Scala
27mWhy Kotlin is my favourite example of Functional Programming?
48mKotlin & Functional Programming: pick the best, skip the rest
34mFunctional Programming in Kotlin for AndroidDevs
44mFrom OOP To FP
41mArchitectures Using Functional Programming Concepts
01h 06mThe Joy of Functional Programming
43mFunctional Programming in Java, Groovy, and Kotlin
