Rule of Three
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 MoreMicroservice Build Pipelines
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 MoreSay Hello to var in Java 10
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 MoreControl Parallelism In Java Streams
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 MoreElegant Objects, Volume 2
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 MoreDocker 104 - Docker Builder Containers
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 MoreHow to test date created with LocalDate.now()?
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 MoreJava Updates Guide
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 MoreUseful git Commands You Need to Know
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 MoreUnderstanding Java Streams Operations
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