this post was submitted on 08 Jan 2025
821 points (98.1% liked)

Programmer Humor

19935 readers
3307 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
[–] [email protected] 12 points 3 days ago (1 children)

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

[–] [email protected] 2 points 2 days 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