---
title: "Discussion on \"5 principles for writing good functions\" | Hashnode"
description: "Discussion on \"5 principles for writing good functions\". I'd like share some principles I think about whenever I'm writing a function. Things that will make your work easier."
url: "https://hashnode.com/posts/5-principles-for-writing-good-functions/6553d8316622c26270fe1d9d"
---

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

Discussion

# [5 principles for writing good functions](https://durre.se/5-principles-for-writing-good-functions?utm_source=hashnode&utm_medium=feed)

I'd like share some principles I think about whenever I'm writing a function. Things that will make your work easier.

Nov 14, 2023 · 3 min read · durre.se  
Updated Nov 16, 2023  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)

## Written by

[Andreas Du Rietz](https://hashnode.com/@durre)

@durre · Stockholm, Sweden

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

Curious developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
