Single responsibility

In software development, there is a guideline known as the single responsibility principle. This principle states that any class should have a single concern only, and it should own all the functionality it uses. In Student/StudentAthlete, you might argue that it shouldn’t be the Student class’s job to encapsulate responsibilities that only make sense to student athletes.

results matching ""

    No results matching ""