870
submitted 5 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 16 points 5 months ago

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

[-] [email protected] 4 points 5 months 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
this post was submitted on 08 Jan 2025
870 points (98.1% liked)

Programmer Humor

24241 readers
2263 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