2 ms·
Functional programming is about carefully managing your state. Ideally, you want to separate the pieces with the complicated logic, from the pieces that do the
by eru 11y ago
Functional programming is about carefully managing your state. Ideally, you want to separate the pieces with the complicated logic, from the pieces that do the state persisting. Then each piece can do one thing and do it well.
There are lots of useful stateless services. But that's the nirvana, and not possible with all things you might want to offer.