---
title: "Discussion on \"5 Tips That Will Enable You to Write Cleaner Code\" | Hashnode"
description: "Discussion on \"5 Tips That Will Enable You to Write Cleaner Code\". Clean Freak\nYou may have been coding for a while now, but would you consider your code to be clean? When you are coding, do you take cleanliness into account (not relating to your surrounding btw, that's for another time)?\n\"Any fool can write code th..."
url: "https://hashnode.com/posts/5-tips-that-will-enable-you-to-write-cleaner-code/5fb256094d7a63560277d3d2"
---

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

Discussion

# [5 Tips That Will Enable You to Write Cleaner Code](https://igorasilveira.hashnode.dev/5-tips-that-will-enable-you-to-write-cleaner-code?utm_source=hashnode&utm_medium=feed)

Clean Freak You may have been coding for a while now, but would you consider your code to be clean? When you are coding, do you take cleanliness into account (not relating to your surrounding btw, that's for another time)? "Any fool can write code th...

Nov 16, 2020 · 10 min read · igorasilveira.hashnode.dev  
Updated Nov 18, 2020  
Read the article

-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#general-advice](https://hashnode.com/tag/general-advice)
-   [#programming](https://hashnode.com/tag/programming)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Igor Silveira](https://hashnode.com/@igorasilveira)

@igorasilveira · Porto, Portugal

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

A developer's journey is never-ending.

## Responses 1

Markdown supported · ⌘↵ to post

[Boss Rangga](https://hashnode.com/@poorgas)

[Sep 17, 2023](https://hashnode.com/posts/5-tips-that-will-enable-you-to-write-cleaner-code/5fb256094d7a63560277d3d2/comment/6506b2b35b0b2cfbc555fa95)

someone inserts your canonical article for actions that interfere with the Google search engine, try checking the canonical tag of your article: rel="canonical" href="dailydev.io" and it points to the domain dailydev.io then redirects 301 to zila.dailydev.io

[Maxi Contieri](https://hashnode.com/@mcsee)

[Nov 16, 2020](https://hashnode.com/posts/5-tips-that-will-enable-you-to-write-cleaner-code/5fb256094d7a63560277d3d2/comment/5fb287fa4d7a63560277d7dd)

Nice article!

I think Fibonacci can be more readable.

I don't know what is an 'a' or 'b'. they are not role revealing. I guess 'num' stands for number. I would make them explicit.

But, it is just my opinion. Article and tips are great!

[Igor Silveira](https://hashnode.com/@igorasilveira)

[Nov 16, 2020](https://hashnode.com/posts/5-tips-that-will-enable-you-to-write-cleaner-code/5fb256094d7a63560277d3d2/comment/5fb287fa4d7a63560277d7dd#reply-5fb290bcfc68d655e1a5deeb)

Hi [Maxi Contieri](https://hashnode.com/@mcsee), i fully agree with that. I opted to not join the "Write meaningful names" tip with this one to keep the CodeSnap small and focused more on formatting and spacing.

Your input is completely valid and I should've combined both. Thank you!
