Explore functional programming techniques for error handling and logging in this 40-minute Devoxx conference talk. Learn how to move away from exception-based error handling towards more functional approaches that align with pure function principles. Discover methods for centralizing logging logic using domain-specific events instead of scattered string messages. Follow along with Kotlin code examples that demonstrate how to make your codebase more maintainable and easier to reason about. Gain insights from experienced polyglot programmer Uberto Barbini on applying functional programming concepts to real-world scenarios, drawing from his book "From Objects to Functions." While the examples use Kotlin, the concepts can be applied to Java and other languages.
Overview
Syllabus
From Objects to Functions by Uberto Barbini
Taught by
Devoxx