• expr@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    9 hours ago

    I mean, it explains things at length, but it’s all fairly accurate.

    As a senior engineers writing Haskell professionally for a number of years, I’ve found it much simpler to teach about Monads after having taught about Functors and Applicatives first, because there’s a very natural, intuitive progression, and because most people already have an intuitive grasp of Functors because map is cribbed so commonly in other programming languages. I’ve used this approach successfully to teach them to people completely new to Haskell in a fairly short amount of time.

    • balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 hours ago

      As a senior engineers writing Haskell professionally for a number of years, I’ve found it much simpler to teach about Monads after having taught about Functors and Applicatives first, because there’s a very natural, intuitive progression, and because most people already have an intuitive grasp of Functors because map is cribbed so commonly in other programming languages.

      I agree! I just wanted to explain what Monads are, standalone, and avoid introducing any other concepts.