Single Responsibility Package

Domain: Package Ideation

🎯 Motivation

A package should do one thing well, just like a well-designed class. Focused packages are easier to understand, test, and combine with others than monolithic β€œdo-everything” bundles.

πŸ“‹ Concrete Example

Instead of school-utils handling timetables, grades, and attendance, publish timeflex for timetables, grade-calc for grades, and roll-call for attendance. Each is independently useful.

πŸ”— Analogy

A specialty bakery makes excellent bread. A store selling bread, shoes, and lightbulbs does none of them well. Focus is what builds reputation and quality.