> but the tricky logic can be isolated in pure functions
That's not really FP though. In FP, you only have pure functions and not a mix of pure and impure.
That's not really FP though. In FP, you only have pure functions and not a mix of pure and impure.