~/talk

Higher-Order Functions and Functional Interfaces: for the challenges of clean, cohesive code

TalkinPortugueseat DevCamp 2019 · on Friday, 2019-08-16· [functional-programming]
name:Leonardo
github:leogsilva
slides:none on file

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

  1. 0:00Introduction to theme
  2. 1:40Idiomatic code and maintenance
  3. 5:02Initial server example
  4. 7:52Configuration challenges
  5. 11:43What are Higher-Order Functions
  6. 14:11First refactor with Higher-Order
  7. 17:56State mutation with Higher-Order
  8. 20:43Single configuration in server
  9. 22:07Options advantages with Higher-Order
  10. 24:54Server creation flow
  11. 26:41Configuration strategies
  12. 27:24Bank account concurrency
  13. 29:55Decorators with Higher-Order
  14. 33:45Composition advantages
  15. 36:09Practical examples in Go
  16. 38:57Pros and cons
  17. 40:45When to use Higher-Order Functions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.