A friendly programming language from the future.

    • sloppy_diffuser@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      That’s one of the things I appreciate in a language/framework. Drives me nuts getting an exception from a dependency of a dependency of a dependency.

      Even better if its baked into the type system and I can’t run my code without handling it.

    • steersman2484@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      Yes, in functional programming you want to use pure functions. Exceptions are impure, therefore it has to be declared.

      Other functional languages don’t even have exceptions