---
title: "Discussion on \"Code Refactoring: When and When not to\" | Hashnode"
description: "Discussion on \"Code Refactoring: When and When not to\". Code refactoring basically involves cleaning up your previously written code without changing its functions. It is a method widely used by developers in cleaning up previously written software code without changing the function of the code at all.\nWh..."
url: "https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce"
---

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

Discussion

# [Code Refactoring: When and When not to](https://nfeesahh.hashnode.dev/code-refactoring-when-and-when-not-to?utm_source=hashnode&utm_medium=feed)

Code refactoring basically involves cleaning up your previously written code without changing its functions. It is a method widely used by developers in cleaning up previously written software code without changing the function of the code at all. Wh...

Nov 13, 2020 · 4 min read · nfeesahh.hashnode.dev  
Updated Jan 2, 2023  
Read the article

## Written by

[Gheshn](https://hashnode.com/@Nfeesahh)

@Nfeesahh · Lagos, Nigeria

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

Product Manager

Hey there👋, I'm Just here to document my knowledge and expertise. Give me your feedback incase you come across any of my articles🥰.

## Responses 6

Markdown supported · ⌘↵ to post

[Rodhiyat](https://hashnode.com/@Rodhiyat)

[Nov 17, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5fb40620a73df361ab7115e4)

Amazing write up 👌

[Faruq Abdulkareem](https://hashnode.com/@Lanre)

[Nov 16, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5fb2d5cb595a24599b2f2a97)

Nice write up Just learnt something new.

[Gheshn](https://hashnode.com/@Nfeesahh)

[Nov 17, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5fb2d5cb595a24599b2f2a97#reply-5fb40449b589f1618af9da4a)

Glad you did.

[Fisayo Akintayo](https://hashnode.com/@Fisayomi)

[Nov 16, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5fb29a3b9f9a5659bcfe2800)

A really nice piece ... 👍🏻

[Gheshn](https://hashnode.com/@Nfeesahh)

[Nov 17, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5fb29a3b9f9a5659bcfe2800#reply-5fb4045db589f1618af9da4e)

Thank you.

[Lawal Muteeullah](https://hashnode.com/@Milan07)

[Nov 16, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5fb25b3dfc68d655e1a5daeb)

Great piece, keep it up!

[Gheshn](https://hashnode.com/@Nfeesahh)

[Nov 17, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5fb25b3dfc68d655e1a5daeb#reply-5fb40462b589f1618af9da52)

Thank you.

[Mueez Garba](https://hashnode.com/@Mz685)

[Nov 13, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5faeed117fcc8d387fc0d4a2)

Great.. very enlightening.

[Gheshn](https://hashnode.com/@Nfeesahh)

[Nov 13, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5faeed117fcc8d387fc0d4a2#reply-5faf07c87fcc8d387fc0d5c9)

Thank you🤗

[Ibrahim Falola](https://hashnode.com/@Nullpointer)

[Nov 13, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5faed84508f9e538a0137115)

Wow! Interesting pieces, really insightful.

[Gheshn](https://hashnode.com/@Nfeesahh)

[Nov 13, 2020](https://hashnode.com/posts/code-refactoring-when-and-when-not-to/5faece337fcc8d387fc0d2ce/comment/5faed84508f9e538a0137115#reply-5faeea4a08f9e538a01371f2)

Thanks so much.
