Rule of Three

• 1 min read • Ali Ben Messaoud

Sometimes called “Three Strikes and You Refactor”, “1, 2, refactor”, the “Rule of Three” is code refactoring rule of thumb to remove duplication when a piece of code could be...

Read More

Microservice Build Pipelines

• 1 min read • Ali Ben Messaoud

The main idea behind a microservices-based application is that systems are simpler to build and maintain when broken down into smaller pieces. Continuous integration (CI), delivery (CD), and deployment (also...

Read More

Say Hello to var in Java 10

• 2 min read • Ali Ben Messaoud

Java 10 had been published last March, 20th 2018 and it came with new features like local-variable type inference (JEP 286). This version carries the var keyword to declare local...

Read More

Control Parallelism In Java Streams

• 4 min read • Ali Ben Messaoud

Previously, I had a task to write a transformation pipeline of gigantic data sets. I will not speak about complexity due to the difference in the environments, and the size...

Read More

Elegant Objects, Volume 2

• 2 min read • Ali Ben Messaoud

Once, in 2017, I received a newsletter from DZone and found an article entitled 16 Don’ts of Career Growth. After that, I decided to google the author, Yegor, and read...

Read More

Docker 104 - Docker Builder Containers

• 9 min read • Ali Ben Messaoud

While most people consider Docker as an environment to run apps, in reality, Docker can be used in the process build as well (i.e. tooling via Docker). Yeah! it is...

Read More

How to test date created with LocalDate.now()?

• 8 min read • Ali Ben Messaoud

Once, I needed to test time-sensitive methods because there was a logic around the current date in my code. In these methods, I am using LocalDate Java classes. Real situation...

Read More

Java Updates Guide

• 8 min read • Ali Ben Messaoud

This page aims to tell and keep a log about updates in Java. Java is adopting a new cadence-based release cycle of the new releases and versions, and if you...

Read More

Useful git Commands You Need to Know

• 6 min read • Ali Ben Messaoud

In this article, we are going to go over some Git commands that may make your life easier. Some of these you may have used, some may be new to...

Read More

Understanding Java Streams Operations

• 4 min read • Ali Ben Messaoud

In this tutorial, we’ll walk through the Optional class methods that were introduced in Java 8 and improved with new features in the last versions of Java. What is? A...

Read More