Explore >> Select a destination


You are here

benjiweber.co.uk
| | 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.
| | 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...
| | inside.java
26.3 parsecs away

Travel
| The Simple Web Server was added to the `jdk.httpserver` module in JDK 18. It is a minimal HTTP static file server, designed to be used for prototyping, testing, and debugging. This article explores some less obvious yet interesting programmatic appl...