Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



> 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: