Skip navigation and jump to content

Felix Nehrke

I write about software development and software architecture.

deutsch

Branded Types

Typescript is basically just Javascript with slightly stricter rules and powerful types. This simple addition is actually surprisingly beneficial and allows us to have powerful intelli-sense in our editors and IDE’s. Typescript also gives us quick feedback when we have made mistakes and cause type conflicts. It’s no surprise that many developers like to use it and enjoy its features. But how do we actually use types and what can we do better? Let me introduce branded types to further improve our developments and get the most of it.

Read more

Problems with Lombok

Almost every Java developer knows Project Lombok. It is one of the most widely used libraries and keeps popping up somewhere. The advantages are obvious and are shown very clearly on the project page. Even so, not everything Lombok does is good and there are some pitfalls using it. I want to dwell a little here on the issues I see in using Lombok. I am not concerned with avoidance, but rather with awareness of weaknesses and pitfalls.

Read more