Everything about

#default‑methods

Image with slug talk-java-var
Fun With var#talk#anonymous‑classes #default‑methods #generics #lambda #java‑10 #var
A live-coding talk where I show off all you need to know about var in Java. And then some.
Image with slug java-var-traits
Unlocking Traits With var#post#default‑methods #java‑10 #lambda #var
In Java 10, var makes it is possible to ad-hoc combine traits into an instance that matches your exact requirements. Alas, it has some downsides.
Image with slug talk-expert-java-8
Expert Java 8#talk#java‑8 #lambda #streams #optional #default‑methods
With this talk, I help you get the most out of lambdas, Streams, Optionals, and default methods, helping you master Java 8's core features
Image with slug java-default-methods-interface-evolution-failure
Interface Evolution With Default Methods – Part II: Interfaces#post#default‑methods #generics #java‑8
Why interface evolution with default methods does not work for whole interfaces - at least not smooth enough to be practical.
Image with slug java-default-methods-interface-evolution
Interface Evolution With Default Methods - Part I: Methods#post#default‑methods #java‑8 #patterns
Patterns for interface evolution with default methods: gradually add, replace and remove interface methods without breaking client code.
Image with slug java-default-methods-guide
Everything You Need To Know About Default Methods#post#default‑methods #java‑8 #java‑basics
Covering literally everything there is to know about Java 8's default methods.
Image with slug java-non-capturing-lambdas
Instances of Non-Capturing Lambdas#post#default‑methods #java‑8 #lambda
See how Java's creation of instances of non-capturing lambda expressions can lead to unexpected and possibly bug-inducing behavior.
Image with slug decorator-pattern-default-methods
The Decorator Pattern With Default Methods#post#clean‑code #patterns #default‑methods #java‑8
Use Java 8's default methods to make the decorator pattern even more beautiful, which results in more concise and readable code.