You are very good at explaining things. Thank you.
@shashikant1892 Жыл бұрын
Great explanation. Nice. Thank you!
@anandbalaji8136 Жыл бұрын
Hi, Information was really helpful.When should we use DI pattern specifically ahead of DIP ?
@CodingSimplified Жыл бұрын
Thanks for your feedback. If you see from video, both DI & DIP helps in achieving loose coupling. DI is definitely on top of DIP so we should try to use DI pattern when we're creating objects in class. So rather creating objects in class, pass objects as injected i.e. Constructor injection. When you use DI pattern, DIP will be implicit in it.