3 ms·
> Arbitrary side-effects coupled with asynchronicity are a recipe for Heisenbugs. I find it easy to avoid side-effects in imperative reactive code. With side-
by mchahn 8y ago
> Arbitrary side-effects coupled with asynchronicity are a recipe for Heisenbugs.
I find it easy to avoid side-effects in imperative reactive code. With side-effects I wouldn't call it reactive.
> , if you add in the constraint that you can't change signal routing at runtime
Once again, this is easy in imperative code.
I am not complaining about functional code. It definitely has its place (just not for me). I just finished an awesome product with imperative reactive code and I thought maybe I was missing something.
- pcstl 8y agoWell, sure, you can program imperatively without side-effects, but you can also use side-effects within asynchronous streams. The point of using functional programming with reactive programming is that you have a guarantee that you won't get non-deterministic behavior.