Post
I like to contain the imperative code with functions. So state doesn't leak. Functions are small, start with a bit of state, then return a value. I think what I find works is I make the building blocks of my app more imperative, then composing those imperative pieces in a more declarative way.
0 reposts1 like