Data-Oriented Programming - Inside Java Newscast #29#videoData-oriented programming focuses on modeling data as data (instead of as objects). Records for data and sealed types for alternatives let us model immutable data where illegal states are unrepresentable. Combined with pattern matching we get a safe, powerful, and maintainable approach to ad-hoc polymorphism that lets us define operations on the data without overloading it with functionality.
Incremental Evolution, Pattern Switches vs Visitor Pattern, and Wayland Support - Inside Java Newscast #8#videoHow the six-month release cadence enabled a more incremental evolution of the Java platform and how pattern switches and sealed classes are an alternative to the visitor pattern. Also, maybe Wayland support for Java.
Visitor Pattern Considered Pointless - Use Pattern Switches Instead#postIn modern Java, the visitor pattern is no longer needed. Using sealed types and switches with pattern matching achieves the same goals with less code and less complexity.
Utilities, Singletons and Dependency Injection - Effective Java, Items 3-5#videoMildly surprising (to me), it makes sense to discuss these three patters in one video - so here it goes
Use Builders... Cautiously - Effective Java, Item 2#videoWhy and how to avoid the builder pattern and how to make best use of it if you can't
Static Factory Methods - Effective Java, Item 1#videoHow to use static factory methods to overcome three shortcomings of constructors
JavaFX, Project Jigsaw and JEP 253#postJEP253 aims to prepare JavaFX for Project Jigsaw by defining public APIs for functionality that will become inaccessible due to modularization.
Interface Evolution With Default Methods - Part I: Methods#postPatterns for interface evolution with default methods: gradually add, replace and remove interface methods without breaking client code.
The Serialization Proxy Pattern#postA presentation of the Serialization Proxy Pattern as defined in Effective Java. It defines the pattern, describes its implementation and gives examples.
The Decorator Pattern With Default Methods#postUse Java 8's default methods to make the decorator pattern even more beautiful, which results in more concise and readable code.