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...
Home » Posts filed under design pattern
Clean code Tips1:: Urge to put comments? refrain to do it.
in
cleancodetips,
code smell,
design pattern,
java
- on November 16, 2020
- No comments
DDD: Thinking in terms of Context Map
in
building microservices,
DDD,
design pattern,
Domain driven design,
java microservices,
Microservice
- on May 28, 2018
- No comments

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...
Techniques for reducing Tight Coupling
in
design pattern,
design pattern in java,
java
- on October 09, 2017
- No comments

“Tight Coupling is Bad” How many times you have heard this word from your seniors. Probably many many times.
But why Coupling is bad what are the implications comes if you do tight coupling?
What is actually a Tight coupling?
How we can fight...
5 great points why you use event source solutions?
in
CQRS,
DDD,
design pattern,
Domain driven design,
Event driven architecture,
Event Source,
event sourcing,
java interview,
java pattern
- on June 17, 2017
- No comments
The Event Sourcing Pattern
Joe has a habit whenever he did some transaction by his Debit card he used to write them in his Personal Diary so he can track his transactions. Joe is not a technology savvy and not able to check account statements...
3 wise men on Tell Don't ask
in
breach encapsulation,
DDD,
design pattern,
design patterns in java,
Encapsulation.Domain driven design,
java,
java interview,
Java principles,
Microservice,
Tell Don't Ask
- on June 07, 2017
- No comments
A story on Tell Don't ask Principle
John, Doe, and Marcus are three good friends. They have over 20 years of experience Java/JEE stack and working in IBM, Cognizant and TCS respectively. They have immense experience in design pattern and all...