---
title: "Discussion on \"Code Refactoring Best Practices: When (and When Not) to Do It\" | Hashnode"
description: "Discussion on \"Code Refactoring Best Practices: When (and When Not) to Do It\". Today we're going to talk about refactoring.\nThis \"smell\" arises when a developer adds new functionality to a method: \"Why should I put a parameter check into a separate method if I can write the code here?\", \"Why do I need a separate search method t..."
url: "https://hashnode.com/posts/code-refactoring-best-practices-when-and-when-not-to-do-it/62017a0e4efba97010a97991"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Code Refactoring Best Practices: When (and When Not) to Do It](https://manishpaneri.hashnode.dev/code-refactoring-best-practices-when-and-when-not-to-do-it?utm_source=hashnode&utm_medium=feed)

Today we're going to talk about refactoring. This "smell" arises when a developer adds new functionality to a method: "Why should I put a parameter check into a separate method if I can write the code here?", "Why do I need a separate search method t...

Feb 7, 2022 · 5 min read · manishpaneri.hashnode.dev  
Read the article

## Written by

[Manish Kumar Paneri](https://hashnode.com/@Mkpanery)

@Mkpanery · India

  
[View profile](https://hashnode.com/@Mkpanery)

It's always a good idea to keep track of your learnings.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
