Every time I look at the Getter methods, I wonder, a simple getter method but its impact is very high on the code. Is it a friend for developers or enemies who are acting as friends? We can discuss various topics on Getter but here I...
Home » All posts
Getter method - cheating the spirit of "Law of Demeter"
in
cleancodetips,
java interview questions
- on December 20, 2020
- No comments
God Class- The developers booby trap!!!
in
cleancodetips,
java interview
- on December 13, 2020
- No comments
We all know what is a dystopian world -- A world of Chaos or Injustice, for developer Antipattern, is the dystopian world but surprisingly willingly or unwillingly developers love to live in a dystopian world.Jokes apart, but this is the ground...
Clean Code:: Method Arguments must be crisp and Encapsulated.
in
cleancodetips,
design pattern in java
- on December 06, 2020
- No comments
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...
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...