SRP (Single Responsibility Principle) was devised by Robert C. Martin, an American software engineer. The principle is a cornerstone of clean code, advocating for singular, well-defined responsibilities. Besides programming, it improves productivity, as well as helps in dealing with unexpected changes.
By adhering to the SRP, daily routines can be optimised and productivity enhanced. At its core, the Single Responsibility Principle advocates that each entity, whether it is a piece of code, a task, or a decision, should have a single, clear responsibility or purpose, and it can be applied in various ways. Focusing on one task at a time helps to maintain clarity and concentration, leading to more informed decisions and efficient completion of tasks.
At times of unexpected change or disruption, the SRP can be applied by adapting to the new circumstances one step at a time. This prevents overwhelm and enables a more structured approach to problem-solving and adjustment.