Which software engineering principle emphasizes that a system should have only one reason to change?

  • DRY (Don't Repeat Yourself)
  • OOP (Object-Oriented Programming)
  • SRP (Single Responsibility Principle)
  • YAGNI (You Ain't Gonna Need It)
The 'SRP' (Single Responsibility Principle) is a principle in software engineering that states that a module, class, or function should have only one reason to change. This helps in maintaining a system by reducing the impact of modifications.
Add your answer
Loading...

Leave a comment

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