There's always been a considerable level of criticism against Java from a big sector of our industry; this criticism has been mostly focused on Java's verbosity and the amount of boilerplate code it generates in many cases without need. Although I've always liked Java, I couldn't say that these allegations are wrong; it's indeed true... Continue Reading →
Mastering the new functional Java
Introduction In my last article, we talked mostly about how Java Streams work and we also had an introduction to Functional Programming in the article "A new Java functional style"; now it's time to take these learnings and see how we can use Streams and take all their benefits. We'll go through a set of... Continue Reading →
Combining multiple API calls with CompletableFuture
After having had an introduction to the new concurrency paradigm in Java in my previous article "A new concurrency model in Java", I've considered that it'd be beneficial to show a more realistic and practical example with CompletableFuture. So what we're going to do is to implement a component responsible for fetching posts from different... Continue Reading →