Using exceptions in C++ desktop and server applications overall made sense to me. As I expanded my usage of C++ into other domains, specifically embedded domains, I began to experience more compelling reasons not to use exceptions first-hand…

From lobste.rs

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Well, if you create result types without monads, you get go.

    I would say it’s completely essential, but you can do with some limited implementation of them.

    • qwertyasdef@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I guess it depends on what you mean by using monads, but you can have a monadic result type without introducing a concrete monad abstraction that it implements.