Answer the question
In order to leave comments, you need to log in
What's the best way to break the logic?
Let's say we are talking about authorization, which includes login, registration, and password reset. Are these 3 parts described in separate classes, or methods in one class? Trying to understand SRP
Answer the question
In order to leave comments, you need to log in
Trying to understand SRP
Does it make sense to produce classes just for the sake of strict adherence to SRP?
Try to implement both options and figure out what will be more convenient to work with in the future.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question