---
title: "Discussion on \"Functions: The \"Expression Narrative\"\" | Hashnode"
description: "Discussion on \"Functions: The \"Expression Narrative\"\". In JavaScript, functions often feel like a playground of \"statements\" (lines of code that just do stuff). In Rust, functions are structured as a Narrative of Expressions. \nAlmost everything in Rust is an Expression (it evaluates to a value). This mea..."
url: "https://hashnode.com/posts/functions-the-expression-narrative/69d4dfcf14dc82f287dd97ff"
---

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

Discussion

# [Functions: The "Expression Narrative"](https://yafi.hashnode.dev/functions-the-expression-narrative?utm_source=hashnode&utm_medium=feed)

In JavaScript, functions often feel like a playground of "statements" (lines of code that just do stuff). In Rust, functions are structured as a Narrative of Expressions. Almost everything in Rust is an Expression (it evaluates to a value). This mea...

Apr 7 · 2 min read · yafi.hashnode.dev  
Read the article

-   [#implicit-returns](https://hashnode.com/tag/implicit-returns)
-   [#rust](https://hashnode.com/tag/rust)
-   [#functions](https://hashnode.com/tag/functions)
-   [#expressions](https://hashnode.com/tag/expressions)
-   [#statements](https://hashnode.com/tag/statements)

## Written by

[Muhammad Yafi Alhakim](https://hashnode.com/@yafialhakim)

@yafialhakim · Jakarta, Indonesia

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

Frontend Engineer @MySkill.id

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
