What exactly does “effectful” mean

后端 未结 4 1250
生来不讨喜
生来不讨喜 2020-12-07 22:58

Time and again I read the term effectful, but I am still unable to give a clear definition of what it means. I assume the correct context is effectful computati

4条回答
  •  眼角桃花
    2020-12-07 23:37

    "Effect is a very vague term and that is ok because we are trying to talk about something that is outside the language. Effect and side effect are not the same thing. Effects are good. Side effects are bugs.

    Their lexical similarity is really unfortunate because it leads to a lot of people conflating these ideas when they read about them and people using one instead of the other so it leads to a lot of confusion."

    see here for more: https://www.slideshare.net/pjschwarz/rob-norrisfunctionalprogrammingwitheffects

提交回复
热议问题