---
title: "Discussion on \"Function Declaration vs. Function Expression: What’s the Difference?\" | Hashnode"
description: "Discussion on \"Function Declaration vs. Function Expression: What’s the Difference?\". In programming, we hate repeating ourselves. If you have a block of code that calculates a tax or greets a user, you don't want to type it out 50 times. This is where functions come in. They are reusa"
url: "https://hashnode.com/posts/function-declaration-vs-function-expression-what-s-the-difference/69ff38e1f239332df4b4a90d"
---

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

Discussion

# [Function Declaration vs. Function Expression: What’s the Difference?](https://js-blogs-aarav.hashnode.dev/function-declaration-vs-function-expression-what-s-the-difference?utm_source=hashnode&utm_medium=feed)

In programming, we hate repeating ourselves. If you have a block of code that calculates a tax or greets a user, you don't want to type it out 50 times. This is where functions come in. They are reusa

May 9 · 3 min read · js-blogs-aarav.hashnode.dev  
Read the article

## Written by

[Aarav Ahuja](https://hashnode.com/@Aarav-Ahuja-9)

@Aarav-Ahuja-9

  
[View profile](https://hashnode.com/@Aarav-Ahuja-9)

I write code that looks and does the job

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
