Using Lombok's @Builder annotation with default values

When writing Java, I’m a big fan of Lombok, a library that helps reduce boilerplate code through code-generation. I’ve written about it in the past, if you’re not familiar with it, checkout my previous posts here and here. Recently I’ve been confronted with the problem of providing defaults for generated Builder-classes generated by the @Builder …

Retrofit: My new HTTP client of choice

There’s no shortage of options for Java developers when dealing with HTTP connections client-side. Java itself brings facilities to work with HTTP, but they are very low level and inconvenient as is Apache’s HttpClient. I’ve been using some more high-level implementations in the past, Spring’s RestTemplate is often a good fit, the same goes for …

Jasmine BDD style testing for Java

During the last six months or so testing has become a special interest of mine. Most of my career I have worked in the Java ecosystem and the majority of tests I’ve seen and written have been using JUnit. Currently I’m looking into the Javascript world, where testing often is done in a different way. In contrast to Java, BDD-style tests are much more common here. There are some libraries that extend JUnit so that you can write tests in a different way, too, JBehave for example enables you to use Gherkin as a specification language, for which you then write a Java adapter that actually implements those specifications.

The Transformation Priority Premise

For the first time since I moved to Nuremberg I made it to the local monthly Softwerkskammer meeting yesterday. Softwerkskammer is a german community format focusing on software crafting and it’s a great way for software developers to improve their skills. This month’s topic was The Transformation Priority Premise (TPP), an approach to writing code …

Relaunch of pamoroth.de

I have been maintaining the website of a journalist friend of mine for a number of years now. It was a homegrown blog-like webpage that worked well, but lacked a number of features. As often is the case with custom software, adding new features over time becomes more difficult, and so finally, a few weeks …

Moving to a new domain

Maybe you noticed that the domain name of this page changed: the old donneo.de has been replaced by reinhard.codes, which I also use as the title of my blog. I have had this domain for a while and it did redirect to donneo.de previously. The reason for this was that my old TLS certificate didn’t …