0 votes
29 views
in DFA by (0 points)
closed by

John has written code that includes multiple methods that is not synonymous with
functionality of it. Many of those methods contain lots of nested statements, hard
coded values and over 500 lines of code. What standard coding patterns would you
suggest to him?

a. Group logically related statements for easy readability
b. Limit the method size between 100 and 150 code lines by refactoring it.
c. It’s okay to have hard-coded values in the same code
d. Name of methods does not matter.

closed

1 Answer

0 votes
by (0 points)
 
Best answer
AD

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...