ElCanut@jlai.lu to Programmer Humor@programming.dev · 23 天前Different philosophiesjlai.luimagemessage-square53fedilinkarrow-up1874arrow-down117
arrow-up1857arrow-down1imageDifferent philosophiesjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 23 天前message-square53fedilink
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up16arrow-down1·23 天前Well, that happens when you don’t override the toString method. Not worse than Java’s 0xf00cu
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up4·21 天前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: