---
title: "Discussion on \"When to store State and when to compute it?\" | Hashnode"
description: "Discussion on \"When to store State and when to compute it?\". I always imagined programming as a \"struggle\" to navigate and maintain a large possible spectrum of states. I have this image in my head where every update to the state of any application is transitioning from one node of a massive graph to another n..."
url: "https://hashnode.com/posts/when-to-store-state-and-when-to-compute-it/6433c22794d1164842d9e1ce"
---

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

Discussion

# [When to store State and when to compute it?](https://matej.codes/when-to-store-state-and-when-to-compute-it?utm_source=hashnode&utm_medium=feed)

I always imagined programming as a "struggle" to navigate and maintain a large possible spectrum of states. I have this image in my head where every update to the state of any application is transitioning from one node of a massive graph to another n...

Apr 10, 2023 · 3 min read · matej.codes  
Read the article

-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#senior-software-engineer](https://hashnode.com/tag/senior-software-engineer)

## Written by

[Matej Minarik](https://hashnode.com/@matej)

@matej · Bratislava, SK

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

I'm a Software Engineer sharing my experience with the eloquence of GPT.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
