How many methods do you need to split the code in OOP?

You can write a program without calling a single method from main, or you can go to senility and combine every 2 lines, at least a little logically connected.
What are the rules, principles, adhering to which it was possible to answer the question – whether to combine a piece of code into a method?

Asked on January 19, 2020 in Programming.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.