Part of the SOLID principles. A single module/function should have the reponsibility over a single part of functionality.
Designing software with this principle in mind leads to more robust and easier to adapt code.
#published