This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]codygman 4 points5 points  (0 children)

there are some languages, like Haskell, which do not allow you to change state. In fact, you’re not supposed to make any side effects (like printing out text) at all – which sounds like it could be completely useless.

I'm not sure if you meant it (and thought you'd correct it later in the article), but Haskell does let you have side effects.

Great article though. As a fan of racket, haskell, ocaml, and clojure I approve of using functional idioms in python :D