Code of Shadows:Mastering Decorator Pattern in Java – Po & Shifu’s Thriller Story of Clean Code

Code of Shadows:Mastering Decorator Pattern in Java – Po & Shifu’s Thriller Story of Clean Code
 The Logging Conspiracy It was a cold, misty morning at the Jade Palace. The silence was broken not by combat… but by a mysterious glitch in the logs.Po (rushing in): "Shifu! The logs… they're missing timestamps!"Shifu (narrowing...

Kung Fu Code: Master Shifu Teaches Strategy Pattern to Po – the Functional Way!

Kung Fu Code: Master Shifu Teaches Strategy Pattern to Po – the Functional Way!
 "There is no good or bad code . But how you write it… that makes all the difference.”-- Master ShifuThe sun had just touched the tips of the Valley of Peace. Birds chirped, the wind whispered tales of warriors, and Po—the Dragon Warrior—was busy...

Clean code Tips1:: Urge to put comments? refrain to do it.

Clean code Tips1::  Urge to put comments? refrain to do it.
While you are writing code, assume you are writing a novel and your fellow coders is a reader of your novel, so anytime you think you have to put comment that means something wrong, you cant express yourselves through code. A real clean code does not...

DDD: Thinking in terms of Context Map

DDD: Thinking in terms of Context Map
In my previous article, I did a detailed discussion about the Bounded Context and learn that how to tackle the complexity of a Domain, it is the best way to divide the domains into several subdomains and mapped them with different bounded contexts...