Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to refactor your codebase #1375

Open
1 task done
OmaJuliet opened this issue Apr 24, 2024 · 7 comments
Open
1 task done

How to refactor your codebase #1375

OmaJuliet opened this issue Apr 24, 2024 · 7 comments
Assignees
Labels
Beginner Expertise In Review Article is in review

Comments

@OmaJuliet
Copy link

What is your article idea?

Code refactoring is the act of restructuring the existing code without affecting its behavior and functionality. The main idea behind this article is to teach readers how to refactor code to improve code readability and maintainability, hence contributing to the overall quality of their web applications.

What are the objectives of your article?

  1. Introduction to code refactoring
  • Definition of code refactoring and why it's important.
  • Introducing the concept of "code smells" as indicators of areas in the code that may need refactoring.
  1. Steps in Refactoring a Codebase
  • Breaking down the process of code refactoring into actionable steps.
  • Techniques for identifying and prioritizing areas for refactoring.
  • How to plan and execute refactoring without introducing bugs.
  1. Benefits of Code refactoring
  • Highlighting the benefits of code refactoring, such as improved code quality, readability, and maintainability.
  • How refactoring can enhance team collaboration and reduce technical debt.
  1. Code Refactoring Tools and Techniques
  • Introducing popular code refactoring tools and libraries, such as JetBrains ReSharper, Visual Studio Code's built-in refactoring tools, and IntelliJ IDEA.
  • Common refactoring techniques, such as extraction method, Red-Green-Refactor method in TDD, abstraction method, and eliminating code duplication.
  • Example and step-by-step guides for using any of these tools and techniques effectively.
  1. When You Should Consider Refactoring Your Code
  • Common scenarios that may indicate the need for code refactoring, such as adding new features, fixing bugs, or improving performance.
  • Highlighting warning signs, such as excessive code complexity, long methods, or frequent code changes, that may signal the need for refactoring.
  1. Conclusion
  • Summary of the key points covered in the article.

What is your expertise as a developer or writer?

Intermediate

What type of post is this?

Tutorial

Terms & Conditions

  • I have read the Write for the Community program guidelines.
@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Hi @OmaJuliet ,

This looks great! Do you have a project you probably worked on recently? Perhaps you could write on the project and show how refactoring was used and the benefits.

Is that possible? Please let me know.

@OmaJuliet
Copy link
Author

Yes @Theodore-Kelechukwu-Onyejiaku I have recent projects I worked on that I can use as case studies or one of them as a case study for the article

@OmaJuliet
Copy link
Author

Hello @Theodore-Kelechukwu-Onyejiaku This article is ready for review.
Here's the draft link: https://hackmd.io/@Juliet-Oma/HyUheQtbA

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Thank you @OmaJuliet ,

Thanks for your contribution! 🥳 I will add it to the review backlog 💪.

Meanwhile, since it is your first time, could you ping me on discord with your
Photo
Full Name,
Bio,
Email address
Job title?

@Theodore-Kelechukwu-Onyejiaku Theodore-Kelechukwu-Onyejiaku added In Review Article is in review and removed In progress Tutorial being created labels May 2, 2024
@OmaJuliet
Copy link
Author

Thanks @Theodore-Kelechukwu-Onyejiaku

@OmaJuliet
Copy link
Author

Hi @Theodore-Kelechukwu-Onyejiaku

This article is ready for review. I've added a section where I refactored the full codebase of a recent project.
Here's the draft link: https://hackmd.io/@Juliet-Oma/HyUheQtbA

@Theodore-Kelechukwu-Onyejiaku
Copy link
Collaborator

Hi @OmaJuliet ,

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Beginner Expertise In Review Article is in review
Projects
None yet
Development

No branches or pull requests

2 participants