Functional Programming Adapter pattern… to explain java method references?

Adapter pattern… to explain java method references?

This quick blog post was inspired by some questions I got asked about method references in Java. This is not meant to be a tutorial on java method references and their specific binding rules (static method, constructor, bound instance method, unbound instance method) as there are many great resources out there already that can be …

Read Article Read More

Java Cascading Lambdas and Builder Pattern in Java, when 1 + 1 = 3… but not 4

Cascading Lambdas and Builder Pattern in Java, when 1 + 1 = 3… but not 4

The builder pattern is one of many well known design patterns used to manage complexity in our code. In particular, it helps us to separate an object construction from its representation, which is especially useful when we have to construct an object with a large number of fields. But what it doesn’t do well is …

Read Article Read More