My first stab at exception handling in Java streams. Explores how to repackage checked exceptions so that they can be thrown without the compiler complaining about it.
The desire for the Elvis operator (null-safe member selection) as a killer feature for terse null-handling echoes through the Java community. It should never be introduced, though, and here’s why.
In the fourth issue of SitePoint’s Java Channel Newsletter I summarize the discussion of Scala’s presumable demise.
Reflection wants to break into all code; encapsulation wants to give modules a safe space. How can this stand off be resolved?
We recently learned about JUnit 5’s extension model in general. Let’s now have a detailed look at custom conditions, which allow us to flexibly disable test methods.
The JUnit 5 extension model enables detailed, flexible, and powerful additions to JUnit 5’s core features. For that it provides specific extension points and easy composition of annotations.
Get to know the basics of JUnit 5: the lifecycle; how to disable, nest, and name tests; and what’s new with Assertions and Assumptions. Let’s write some tests!
See how to set up JUnit 5 Milestone 3, so you can write tests and run them with your favorite IDE and build tool.
To finish all the projects I started in 2016, I will have to be disciplined and focused in 2017. Discipline and focus… what delightful words to start a new year.
Wow, did we fuck up 2016! It looks like it was the year humanity decided to finally stop trying. But this post is not about that, it’s about what I did try and how that turned out.