60

which language in your opinion has the best error handling tools?

Comments
  • 7
    I think for the last one you're thinking of VHDL
  • 10
    Rust is indeed quite good.

    Haskell is an amazing language, but errors are like "E !=< E of type Set when checking that the expression go f ys has type E", then I'm like "No, you go f*ck ys!"

    Well, and PHP has very clear errors. I mean, you can hate the language all you want, the errors and stack traces tend to be very clear.
  • 0
    More like an assembler error.
  • 1
    Elm: Bring my super human-like error messages.
  • 6
    JAVASCRIPT IS AWESOME AT NULL POINTER EXCEPTIONS
  • 9
    Meanwhile MySQL is all like HY000 ER_UNKNOWN_ERROR
  • 5
    @bittersweet ugh, can confirm. It's a fucking pain
  • 0
    SEGMENTATION VIOLATION
  • 1
    And comes Erlang

    ```

    ** exception error: interpreted function with arity 1 called with two

    ```
  • 1
    @johnmelodyme That's pretty clear, if it gives a line number...
  • 0
    @bittersweet but no line number. This is common parameters problem. But when declare it tells you that some shit is happening there.

    e.g.

    [error] 4108- fatal: :unexpected_end
  • 0
    C errors are fine if you use clang. C++ however, can be pretty shitty, especially when its linker errors
  • 1
    All I remember from prolog when learning it once is that it kept calling me creep.
  • 2
    Idk I ignore them
  • 0
    LaTeX error messages anyone?
    You can consider yourself lucky if the error is at least near your actual error
  • 2
    Does matter how good the error message is, many people will not read it and post screenshot taken via mobile on Facebook and ask for solution.
  • 0
    Rust and TypeScript
Add Comment