3 ms·
I think Haskell seems harder because it's built on another set of abstractions (laziness, typeclasses) where Python abstractions (iterators in this case, plus t
by draven 2y ago
I think Haskell seems harder because it's built on another set of abstractions (laziness, typeclasses) where Python abstractions (iterators in this case, plus the with statement for resource acquisition/cleanup) are more common, but I could be wrong (I've been working with Scala for close to a decade now so functional style looks more familiar that imperative now.)
(I also always forget how to format comments, the ref is here: https://news.ycombinator.com/formatdoc https://news.ycombinator.com/formatdoc )