Author Archives
-
Book Review: Ikigai: The Japanese secret to a long and happy life
This book is all about secrets to longevity i.e living longer. The authors do a case study of people living in a place called Okinawa in Japan which has a higher average life expectancy than Japan and the world. Authors… Read More ›
-
Book Review: The Subtle Art of Not Giving A F*ck
The book The Subtle Art of Not Giving A F*ck by Mark Manson is a book about managing your problems and failures. I can aptly call this book a Problem Management manual. The author talks about looking at problems from… Read More ›
-
Book Review: The Psychology of Money
The Psychology of Money by Morgan Housel is a must-read book on personal finance. A lot of times decisions on personal finances, investments are done using the historical data of the market analyzed on a spreadsheet. But what we forget… Read More ›
-
Java 17 – Sealed classes
Prior to Sealed Classes feature there were two ways a developer could prevent a class to be extended: by declaring the class as final where no one can extend this class. 2. by making the class package private where no… Read More ›
-
Execute around Aspect with @annotation pointcut in Spring Boot
Aspect oriented programming (AOP) is a programming model where we write independently executable code which adds additional behavior to the existing code without modifying the existing code. Wikipedia defines AOP as: In this article, I will show you how to… Read More ›
-
Book Review: Atomic Habits by James Clear
I recently finished reading the amazing book Atomic Habits by James Clear. This book is about tips and techniques which one can adopt to build habits that last. The book is centered on how one can make small changes in… Read More ›
-
Java 16 – Pattern matching for instanceof
We all have used instanceof check with a subsequent cast to the desired type and in this process, we are doing two operations: validating whether the object we have is of the desired type using instanceof when the validation is… Read More ›
-
Using ROWNUM to paginate the data in Oracle
In one of my previous posts, I showed you how to use ROWNUM with ORDER BY clause. Building on that in this post I will show you how you can paginate your results using ROWNUM in Oracle DB and how… Read More ›
-
Java 16 – Records and Constructor
In my previous post, I introduced you to the new construct called Records which was introduced in Java 16. In this post, I will go a bit deeper into how you can override the default constructor of a record which… Read More ›
-
Java 16 – Records
We all, Java programmers, have complained whenever we were forced to create a class or use maps just to hold some data whilst other newer languages provided some out-of-the-box data structure for the same. Our problem has been addressed by… Read More ›