Design - Single responsibility principle

> Code - (Programming|Computer) Language > ( Information System | Software ) Design - Art of Programming

1 - About

The single responsibility principle says that a (function or object) should ideally only do one thing.

If it ends up growing, it should be decomposed into smaller subcomponents.

3 - Documentation / Reference