Skip to content

Instantly share code, notes, and snippets.

View NicolasPA's full-sized avatar
🚰
Would you have some data?

Nicolas Parot Alvarez NicolasPA

🚰
Would you have some data?
View GitHub Profile
@gvolpe
gvolpe / shared-state-in-fp.md
Last active March 15, 2022 20:27
Shared State in pure Functional Programming

Shared State in pure Functional Programming

Newcomers to Functional Programming are often very confused about the proper way to share state without breaking purity and end up having a mix of pure and impure code that defeats the purpose of having pure FP code in the first place.

Reason why I decided to write up a beginner friendly guide :)

Use Case

We have a program that runs three computations at the same time and updates the internal state to keep track of the

@PurpleBooth
PurpleBooth / README-Template.md
Last active June 30, 2025 10:35
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites