ElCanut@jlai.lu to Programmer Humor@programming.dev · 6 个月前Different philosophiesjlai.luexternal-linkmessage-square52fedilinkarrow-up1887arrow-down117
arrow-up1870arrow-down1external-linkDifferent philosophiesjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 6 个月前message-square52fedilink
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up17arrow-down1·6 个月前Well, that happens when you don’t override the toString method. Not worse than Java’s 0xf00cu
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up4·6 个月前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
Well, that happens when you don’t override the
toString
method. Not worse than Java’s 0xf00cuHey, javas default toString gives you two informations: