What is Explicit Dependencies Principle


Methods and classes should explicitly require (typically through method parameters or constructor parameters) any collaborating objects they need in order to function correctly.

Source: deviq.com


Leave a Reply

Your email address will not be published. Required fields are marked *