Java

[EN] Why `.equals()` and not `==` for object comparison in Java?
[EN] Why `.equals()` and …

A few months ago I had a short discussion in a merge request with an experienced developer who asked me that’s why asked to undo my refactoring because == was easier to read.

[EN] Enumset in database
[EN] Enumset in database

Motivation

Even in this day and age, when storage is comparatively cheap, it can still make sense to have it not to be wasted. We were looking for a comparatively cheap alternative within our project, to give a data set additional information that we display within the frontend, i.e. we have to …

[EN] Beyond Java 8 Examples
[EN] Beyond Java 8 …

Now that we have clarified the theory in the first part, we now add some practice. Here are code examples and explanations for the key features of each Java version from 8 to 23: