/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

benjiweber.co.uk
| | inside.java
6.2 parsecs away

Travel
| | Record classes enhance Java's ability to model "plain data" aggregates with less ceremony. A record class declares some immutable state, and commits to an API that matches that state. This means that record classes give up a freedom that classes usu...
| | sookocheff.com
5.7 parsecs away

Travel
| | One of the core features of modern Java is lambda expressions. Introduced in Java 8, lambdas provide concise syntax allowing the deferred execution of a block of code. Put a different way, lambdas allow us to pass behaviour as a method parameter. When the method executes, the lambda expression is run. This capability is often referred to as behaviour parameterization. Behaviour parameterization can be achieved in a number of ways, of which lambda expressions are usually the most convenient, and they are definitely the most concise. But what is behaviour parameterization, and why would we want to use it? To motivate this discussion, let's work through a real-world example of filtering a list of items according to some criteria. More concretely, let's investig...
| | msfjarvis.dev
6.0 parsecs away

Travel
| | Part 1 of my #TeachingKotlin, this post goes over Kotlin classes, objects and how things like finality and staticity vary between Java and Kotlin.
| | blog.scottlogic.com
27.9 parsecs away

Travel
| In most microservice architectures, there are many opportunities and temptations for sharing code. In this post I will give advice based on my experience on when it should be avoided and when code reuse is acceptable. The points will be illustrated with the help of an example Spring Boot project.