Getter method - cheating the spirit of "Law of Demeter"

 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...

God Class- The developers booby trap!!!

God Class- The developers booby trap!!!
 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.

Clean Code:: Method Arguments must be crisp and Encapsulated.
 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.

Clean code Tip : SRP is the MEDUSA of Clean code family.
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...