Blog

A new future for Java

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 →

Grouping elements with Java Streams

One of the most interesting features introduced with Java Streams is the ability of grouping collections easily by using the groupingBy collector.Although in some cases it could be pretty straightforward, there are different combinations of groupingBy and some of them are not so obvious to understand for many developers, so that’s why I’ve decided that… Continue Reading →

The unfairly unknown ForkJoinPool

We are all well aware of all the fancy new features that JDK 8 brought to us and probably it’s hard to find a Java developer that doesn’t know what Java Streams, Lambdas or CompletableFutures are. So all these nice features came a few years back with JDK 8, but what happened a bit earlier… Continue Reading →

7 Things to Do to Become a Good Software Engineer

Multiple times many of you might have wondered what makes someone a good Software Engineer; in most of the cases there’s a tendency to think that having an intelligence way above the average is the only way to be a good Software Engineer.I’ll tell you one thing: that’s totally wrong! I’ve been in this sector… Continue Reading →

Functional patterns in Java

Recently we started a journey through functional programming in Java with my articles “A new functional Java style” and “Mastering the new functional Java“. Now that we have a basic understanding about functional programming and what Java brings to us, I think it’s time to see how we can apply this to improve our existing… Continue Reading →

When parallelism beats concurrency

I’m aware that for many of you these two concepts probably mean the same or maybe you’d struggle to explain the differences between them; however, they’re actually two very different concepts and this is quite important to understand the way in which we process data nowadays. In both cases we try to solve a problem… 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 →

Understanding Java Streams

After having had a deep introduction to functional programming in my last article “A new Java functional style“, I think it’s now time to look at Java Streams more in depth and understand how they work internally. This can be something very important when working with Streams if our performance is going to be impacted…. Continue Reading →

A new Java functional style

It’s been a while since JDK 8 was released, bringing plenty of new features to the Java language; among them the most expected feature was ,with no room for doubt, the introduction of Lambda expressions.The release of Lambdas supposed one of the biggest quality jumps in the Java language in its history; mainly due to… 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 →

Loading…

Something went wrong. Please refresh the page and/or try again.


Follow My Blog

Get new content delivered directly to your inbox.

Up ↑

Take a look at our recommended books!

Ok!
X
%d bloggers like this: