this post was submitted on 08 Jan 2025
842 points (98.2% liked)

Programmer Humor

20039 readers
1467 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
[–] mlg 68 points 2 weeks ago (1 children)

Hey at least it's not JavaScript which is perpetually high on crack with Object object

[–] [email protected] 13 points 2 weeks ago (1 children)

Well, that happens when you don’t override the toString method. Not worse than Java’s 0xf00cu

[–] [email protected] 3 points 2 weeks ago

Hey, javas default toString gives you two informations:

  • type, not that the class names in many java projects are informative
  • identity, while the pointers are gibberish you can see if they are the same gibberish