While writing methods, please pay close attention to the method arguments, This is the one area where the method assimilates the foreign body into its core body. Foreign material is always dangerous, you do not have any control over it, but as...
Home » Posts filed under design pattern in java
Clean Code:: Method Arguments must be crisp and Encapsulated.
in
cleancodetips,
design pattern in java
- on December 06, 2020
- No comments
Clean code Tip : SRP is the MEDUSA of Clean code family.
in
cleancodetips,
design pattern in java,
design patterns in java with realtime examples,
javaonfly
- on November 29, 2020
- No comments
While we are hearing tips on Clean code, the most common tip is maintaining SRP while writing class or methods, in a broader scope Module/Package/Service/API.But Irony is, SRP is the most powerful but obscured principle in the Design toolbox, this throws...
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...