Pinned
More mindset shifts I had for pure functional programming (FP):
-Using recursion instead loops
-Modelling a state machine without "state"
In FP you can model a state machine by using recursion, lexical bindings, higher-order functions
#Clojure example, but could be haskell👇









