Understand the Three Laws of TDD
Uncle Bob described TDD with three rules in his article The Three Laws of TDD. These laws lock a developer into a cycle that is short but is very crucial...
Read MoreLiskov Substitution Principle
In this article, we will see the Liskov Substitution Principle (LSP), which is the “L” in the SOLID principles. “Subtype Requirement: Let φ(x) be a property provable about objects x...
Read MoreDependency Inversion Principle
In this article, we will see the Dependency Inversion Principle (DIP), which is the “D” in the SOLID principles. “The Dependency Inversion Principle (DIP) states that High-level modules should not...
Read MoreSingle Responsibility Principle
In this article, we will see the Single Responsibility Principle (SRP), which is the “S” in the SOLID principles. “The Single Responsibility Principle (SRP) states that each software module should...
Read MoreOpen/ Closed Principle
In this article, we will see the Open/ Closed Principle (OCP), which is the “O” in the SOLID principles. The Open/ Closed Principle (OCP) states that “software entities (classes, modules,...
Read MoreInterface Segregation Principle
In this article, we will see the Interface Segregation Principle (ISP), which is the “I” in the SOLID principles. “Clients should not be forced to depend upon interfaces that they...
Read MoreAvoid Null
How to prevent the famous NullPointerExceptions in Java? This is one of the most important questions for every Java developer to ask independently of their level of expertise. I call...
Read MoreRed Green Refactoring
To execute Test-Driven Development (TDD) properly we need to learn its key methodology Red, Green, and Refactor (RGR). This method consists of 3 phases that are repeated continuously: Red, Green,...
Read MoreDocker 103 - Understand Dockerfile Volume
In this article, we’ll learn how to create a Docker image using Dockerfile and volumes, and we will see why we should not declare Docker or host path volumes in...
Read MoreDocker 102 - Docker with Java Spring and Maven
In this article, we’ll learn how to create a Docker image of a Spring Boot application, using Dockerfile and Maven, and then run the image we’ve created. Docker Guide (6...
Read More