---
title: "Discussion on \"Cleaning C code to maintain sanity\" | Hashnode"
description: "Discussion on \"Cleaning C code to maintain sanity\". I am the kind of person who can ignore scattered and untidy surroundings, but when it comes to messy code, I cannot resist cleaning and refactoring it.This blog mostly covers the aspect of code refactoring.\nLet's get started.\nSuppose we've built a Ra..."
url: "https://hashnode.com/posts/cleaning-c-code-to-maintain-sanity/632aade4c1c17f18b67cf876"
---

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

Discussion

# [Cleaning C code to maintain sanity](https://aryanarora.hashnode.dev/cleaning-c-code-to-maintain-sanity?utm_source=hashnode&utm_medium=feed)

I am the kind of person who can ignore scattered and untidy surroundings, but when it comes to messy code, I cannot resist cleaning and refactoring it.This blog mostly covers the aspect of code refactoring. Let's get started. Suppose we've built a Ra...

Sep 21, 2022 · 2 min read · aryanarora.hashnode.dev  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#clean-code](https://hashnode.com/tag/clean-code)

## Written by

[Aryan Arora](https://hashnode.com/@aryanArora)

@aryanArora

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

exploring computer science

## Responses 1

Markdown supported · ⌘↵ to post

[Vineet Jadav](https://hashnode.com/@data1science1)

[Mar 7, 2024](https://hashnode.com/posts/cleaning-c-code-to-maintain-sanity/632aade4c1c17f18b67cf876/comment/65e98ca4d8702272b53bf754)

Enrolling in BIA's data science course was the best decision I made for my career. The skills I gained here have opened up numerous opportunities for me! [bostoninstituteofanalytics.org/data-science-and-a…](https://bostoninstituteofanalytics.org/data-science-and-artificial-intelligence/)

[Snehel](https://hashnode.com/@snehel4510)

[Sep 21, 2022](https://hashnode.com/posts/cleaning-c-code-to-maintain-sanity/632aade4c1c17f18b67cf876/comment/632b36cbc63fa0e8e95a7f87)

Awesome blog Aryan! Loved the way you structured your example code to explain the details and uses of code refactoring and abstraction.
