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

  • @[email protected]
    link
    fedilink
    310 months 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
      link
      310 months 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.