ElCanut@jlai.lu to Programmer Humor@programming.dev · 2 days agoDifferent philosophiesjlai.luimagemessage-square45fedilinkarrow-up1799arrow-down114
arrow-up1785arrow-down1imageDifferent philosophiesjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 2 days agomessage-square45fedilink
minus-squaremlg@lemmy.worldlinkfedilinkEnglisharrow-up67·2 days agoHey at least it’s not JavaScript which is perpetually high on crack with Object object
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up15arrow-down1·2 days agoWell, that happens when you don’t override the toString method. Not worse than Java’s 0xf00cu
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up3·7 hours agoHey, 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
Hey at least it’s not JavaScript which is perpetually high on crack with Object object
1 + 1 = “11”.
Well, that happens when you don’t override the
toString
method. Not worse than Java’s 0xf00cuHey, javas default toString gives you two informations: