Everyone says that any method should do only one action to be as simple and clear as possible.

Better a lot small than a big one.

The question is how to properly link these methods?

To make a call to one another or to make their interaction in a separate method that will do it?

For example, in class 4 methods there is a fifth one that unites them or calls one in the other. Is there any typed approach to solving this situation? How to do it better?

Closed due to the fact that the question is too common for participants post_zeew , aleksandr barakin , Alexey Shimansky , cheops , Denis Nov 4 Nov '16 at 8:19 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 2
    Yes, there is an approach. But this approach is very dependent on the context. - post_zeew
  • Or maybe you know where in compressed form you can get acquainted with this idea? In the sense of not a book entirely, but an article or a series of tutorials ... So for informational purposes, for a start. Or what it is called to search for the right keywords. - Pavel
  • 2
    Your question is very general, and it is unlikely to give any (concise) answer to it. What you ask comes with experience. - post_zeew
  • 2
    Although ... you can read something by refactoring the code. For example, this or that , but these are books. - post_zeew
  • Thank! I will be formed)))) - Pavel

0