Re:Sick of Ruby, dynamic typing, side effects, and object-or...
by lmm on Tuesday November 07, 2017 @05:35AM
(#15642279)
Yes and no. Ruby has a particularly dynamic, side-effecty culture, even more so than Python (where monkeypatching is less encouraged, OO is less of a focus, and, not coincidentally, unit testing is far less a source of fuss and trouble). Haskell goes in for stronger isolation of side effects than OCaml does. Any given language will be at some point on the spectrum, but Ruby and Haskell are probably the extreme ends of that spectrum as far as mainstream languages go.
You can write, 'I hate X because of dynamic typing, side effects, and object-oriented programming' for many values of X. Similarly, the reasons why the author is drawn to Haskell can be applied to a large number of other languages.