A simple but effective refactoring guide

1. Write code within 200 lines in one file.

  • Reducing the number of lines of code in the file is very effective.

2. Write code within 20 lines in the function.

  • A function should only with one role.
  • If a function with more than one role, the function must be divided.

Refactoring is very effective by reducing the number of lines of code in files and functions.
This way, you only need to look at the file or function that performs the function.

H2
H3
H4
3 columns
2 columns
1 column
3 Comments
Ecency