Java 8 introduced the Optional feature, providing a safer way to handle potential null values and reduce the risk of NullPointerExceptions. In this post, we’ll explore Java 8 Optional methods, practical examples and how they can improve code readability. Java 8 Optional’s methods overview Optional is a container that holds…
Author: Hoai Thu
My 21 Days Leetcode challenge
Coming from a business background, shifting to the tech world has been quite a ride. When I first entered this new field, most of my energy and time was dedicated to learning new technologies, tools, languages, and frameworks. Consequently, I unintentionally neglected one important skill – algorithms. Four years after…
Spring AOP: A Comprehensive Guide to AOP Concepts
In this entry of my series about the Spring fundamental concepts, I will explain one essential concept underlying Spring framework. Our focus shall be on comprehending the fundamental of AOP, its underlying principles, and its application within the Spring framework. AOP Fundamentals Consider an application where multiple components required logging,…
Tools I use
My personal collection of some useful tools that I am using during development. IPython – Jupiter Notebook A web-based interactive computational environment for creating notebook documents. Installation: pipenv install jupyterlab pipenv shell jupyter lab