3 ms·
Some solutions are much easier to express in an imperative way. You can still write pure functions and avoid state in imperative code. Use consts, immutable ob
by brap 4y ago
Some solutions are much easier to express in an imperative way.
You can still write pure functions and avoid state in imperative code. Use consts, immutable objects, etc. You get some of the benefits of functional programming while still writing readable code.