this post was submitted on 02 Dec 2024
340 points (99.4% liked)

Programmer Humor

19817 readers
1256 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] jaybone 7 points 3 weeks ago (1 children)

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 2 points 3 weeks ago* (last edited 3 weeks 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.