---
title: "Discussion on \"How to Write Clean Code (Part 1)\" | Hashnode"
description: "Discussion on \"How to Write Clean Code (Part 1)\". Write Clean Code with Functional Programming's Wisdom of Experience"
url: "https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635"
---

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

Discussion

# [How to Write Clean Code (Part 1)](https://blog.post80s.com/how-to-write-clean-code-part-1?utm_source=hashnode&utm_medium=feed)

Write Clean Code with Functional Programming's Wisdom of Experience

Oct 25, 2022 · 7 min read · blog.post80s.com  
Updated Oct 27, 2022  
Read the article

-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#php](https://hashnode.com/tag/php)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#procedural-programming](https://hashnode.com/tag/procedural-programming)

## Written by

[Li Li](https://hashnode.com/@levonlee)

@levonlee · Toronto, Canada

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

Senior Developer

I'm a senior developer on web technology. I like to discover and learn, and always believe there's a better way to code.

## Responses 5

Markdown supported · ⌘↵ to post

[Vinay Singh](https://hashnode.com/@vinaysingh0399)

[Nov 12, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/636f94cb156201257c9455e0)

Hey [Li](https://hashnode.com/@Zhibo)

Thank you, So much such an excellent content on **How to write clean code?**

Actually, this is something a developer should know for future deployment and understand the problem of the next person whom you night submit your codebase have a clean code can be an easy start for that new person too. I would like to connect with you for further opportunities; let me know your thoughts around this I am also a full-stack developer with 3+ years of experience.

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

[Nov 12, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/636ee70c73a5a31bac26125f)

Nice article !!

looking forward to reading the next of your series

[Manik](https://hashnode.com/@cloudaffle)

[Nov 4, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/6364e819c8e1079692e67ce7)

I'm a bit confused as to why are you calling your example as functional programming because it's not. Functional programming is a lot more than what your article states.

[Li Li](https://hashnode.com/@levonlee)

[Nov 15, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/6364e819c8e1079692e67ce7#reply-63739e26d81a95516cadeeb2)

You're right, Manik. I'm going to write more tricks and principles which will be related to Functional Programming.

[Manik](https://hashnode.com/@cloudaffle)

[Nov 15, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/6364e819c8e1079692e67ce7#reply-6373ba0ad81a95516cadf290)

[Li Li](https://hashnode.com/@levonlee) cool look forward to it 👍

[Tiffy K](https://hashnode.com/@TiffyK)

[Oct 28, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/635b3e475221d3274830fc35)

Love the fried rice example. Fun lesson, keep it up!

[Li Li](https://hashnode.com/@levonlee)

[Oct 28, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/635b3e475221d3274830fc35#reply-635b472f682db62723aa87cf)

Thank you!

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

[Oct 25, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/63585ffad6a840fb80edccd0)

Nice examples!

[Li Li](https://hashnode.com/@levonlee)

[Oct 26, 2022](https://hashnode.com/posts/how-to-write-clean-code-part-1/6358581efe1fbc3ab4e9d635/comment/63585ffad6a840fb80edccd0#reply-6358aa48ff3bb3047322d161)

Thank you!
