3 ms·
side effects are not necessarily a bad thing. unintentional side effects are. with some exceptions, such as UI frameworks, I find it harder to unintentionally c
by bpavuk 10mo ago
side effects are not necessarily a bad thing. unintentional side effects are. with some exceptions, such as UI frameworks, I find it harder to unintentionally create a side effect. also, UI is basically one huge side effect.
Kotlin and Rust are just a lot more practical than, say, Clojure or Haskell, but they both take lessons from those languages.
- mrkeen 10mo ago> side effects are not necessarily a bad thing. unintentional side effects are Right. Just like Strings aren't inherently bad. But languages where you can't tell whether data is a String or not are bad. No language forbids effects, but some languages track effects.