suseona avatar

A simple but effective refactoring guide

pishio

Published: 20 Aug 2022 › Updated: 20 Aug 2022A simple but effective refactoring guide

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.

Leave A simple but effective refactoring guide to:

Written by

Witness, Creator of blog.suseona.com

Read more #refactoring posts


Best Posts From suseona

We have not curated any of pishio's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From suseona