Javaslang - Functional Java The Easy Way
Offered By: Devoxx via YouTube
Course Description
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
Related Courses
Algorithms, Part IPrinceton University via Coursera Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera MongoDB for Java Developers
MongoDB University Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera Intro to Java Programming
San Jose State University via Udacity