Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Javaslang - Functional Java The Easy Way

Devoxx via YouTube

Overview

Explore Javaslang, a library that brings Scala-inspired functional programming concepts to Java, in this 50-minute Devoxx conference talk. Discover productivity enhancements and syntactic sugar offered by Javaslang, including pattern matching, value types, and functional data types. Learn how to implement functional business code that is easy to maintain and understand. Delve into topics such as referential transparency, thinking in values, Java 8 features, immutable collections, Option and Try types, and pattern matching basics. Gain insights from David Schmitz, a principal architect at Senacor Technologies with over 13 years of experience in various projects and technology stacks, as he demonstrates how Javaslang can help migrate architectures and organizations to meet the challenges of the digital age.

Syllabus

Intro
What's in it for you? Functional programming is hip
Referential Transparency Math.random()
Thinking in Values
Enter Java 8
Mutable Collections are Evil interface Collection
Easy solution? Collections
Javaslang Collections
An Option is like a Gift Box
Optional or Option?
Exceptions to Options with Try
Pattern Matching Basics
Cases map functions to patterns
Example Patterns
HTTP Handling Fixed
Matching a Try
What are the drawbacks?
Wrapping up Slick, stable, consistent API

Taught by

Devoxx

Reviews

Start your review of Javaslang - Functional Java The Easy Way

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.