Core Java
-

The Structural Bug
A team member was having a bit of trouble with the following code: 01 02 03 04 05 06 07…
Read More » -

Date/Time Printing Can Be Elegant Too
I owe my pretty high StackOverflow reputation to this question in particular, which I asked a few years ago: How…
Read More » -

Handling repeated code automatically
In this article I will describe how you can use Java::Geci generator Repeated to overcome the Java language shortage that…
Read More » -

Pub/Sub local emulator
Pub/Sub is a nice tool provided by GCP. It is really handy and can help you with the messaging challenges…
Read More » -

Can/Should I use parallel streams in a transaction context?
Introduction To make a long story short, you should not use transactions within a parallel stream. This is because each…
Read More » -

Double Check Locking in Java
In this post, we’ll be taking a look at some techniques of creating a Singleton object in RxJava. Most importantly,…
Read More » -

Identifying Code Smells In Java
As a software developer, it’s our responsibility to not only write code that works but rather write code that’s maintainable.…
Read More » -

SOLID Design Principles
Introduction: Robert C. Martin defined five object-oriented design principles: Single-Responsibility Principle Open-Closed Principle Liskov’s Substitution Principle Interface Segregation Principle, and…
Read More » -

Strategy Design Pattern In Java
The strategy design pattern is a behavioral pattern in which we have multiple algorithms/strategies for achieving a task and which…
Read More »
