How To Use Nullable Types Correctly in Kotlin

One of the most annoying aspects in writing code in Java is dealing with null elements. Having to place null check conditions everywhere just to make our code null-safe is something that probably most of us have suffered quite often. Kotlin provides different mechanisms to help solve this problem. Let's go through them first. Non-Nullable... Continue Reading →

Distributed Locks with Apache Pulsar

One of the most common challenges that we software engineers have sometimes is how to ensure that only one component in our distributed application is doing a certain computation at a time. For example, let's say we are running three nodes in our application and we need to run a scheduled job daily. How can... Continue Reading →

A Java Practice Idea: Make a Simple Poker Game

Companies looking to take advantage of emerging tech are willing to offer some of the best perks on the job market to top developers. Generous salaries, health benefits, pension plans, and higher-than-average holiday allowances are all commonplace for powerful coders.However, in order to secure these roles, coders must be agile, fluent and demonstrate an ability to... Continue Reading →

An intelligent bet on Kotlin

This article was originally published at https://bell-sw.com/announcements/2020/11/16/An-intelligent-bet-for-Kotlin-part-one/ If you’re a Software Developer or any kind of professional working in the IT sector, you’ve probably heard of Kotlin language.  Kotlin language has been gaining a lot of traction and popularity among developers in the industry in the last four years. Among its benefits, its supporters enumerate... Continue Reading →

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 →

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 →

Up ↑

Take a look at our recommended books!

Ok!
X