• jaybone@lemmy.world
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    2 days ago

    I love all the Java haters. Like is a stack trace from any other language somehow more readable? Python stack traces are fucking backwards, and also annoying as fuck since you don’t have any type info. C++ you have to enable core dumps and then run a separate tool. Okay fully qualified class names in Java are long, but that’s because you have proper packaging and namespaces which plenty of other languages manage to do much worse at.

    • qaz@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      24 hours ago

      C++ you have to enable core dumps and then run a separate tool.

      It’s really not that bad when using something like Clion in debug mode. It clearly shows each function it went through and clicking instantly takes you to the relevant function.

      But you’re right. Java stacktraces really aren’t that bad, throw some syntax highlighting and links in and it’s actually a really decent option. I sure know what I would prefer when comparing it to JavaScript.