Загрузка...

SOLID and SRP

Watch the full course: https://www.udemy.com/solid-principles/?couponCode=TUBE-SOLID-2 Single Responsibility Principles or SRP in short states that every object should have a single responsibility, and that responsibility should be entirely encapsulated by the class. This is the definition taken from Wikipedia. It’s very hard to understand what does it mean. For example, the first two questions which come to my mind are: how to define those responsibilities? how to calculate the number of responsibilities of a certain class?

Видео SOLID and SRP автора Программистские таймы
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки