this post was submitted on 28 Feb 2024
1005 points (97.0% liked)

Programmer Humor

32361 readers
402 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 90 points 8 months ago (4 children)

let's not act like Java's error log is useful

[–] [email protected] 15 points 8 months ago (1 children)

I think it's pretty useful, be interested to hear your hangups with it though because it's definitely not perfect.

If something goes wrong and I have a stack trace, that plus the type of exception will almost always be enough for me to figure out what's wrong at least as a starting point. I've worked mostly with JVM languages in my career though so maybe I just don't know how bad it actually is.

[–] kaffiene 1 points 8 months ago

It's not bad. It's better than what most languages give you

[–] Fades 10 points 8 months ago (1 children)
[–] marcos 7 points 8 months ago (1 children)

The same applies to using the core dump.

In fact, the Python one is the lest useful of the trio.

[–] [email protected] 10 points 8 months ago

When the day comes that you need gdb you will indeed be amazed at how fucking powerful it is. If your server crashes grab that core dump!

[–] kaffiene 7 points 8 months ago

It's extraordinarily useful