ElCanut@jlai.lu to Programmer Humor@programming.dev · 4 个月前Different philosophiesjlai.luimagemessage-square52fedilinkarrow-up1886arrow-down117
arrow-up1869arrow-down1imageDifferent philosophiesjlai.luElCanut@jlai.lu to Programmer Humor@programming.dev · 4 个月前message-square52fedilink
minus-squaremlg@lemmy.worldlinkfedilinkEnglisharrow-up74·4 个月前Hey at least it’s not JavaScript which is perpetually high on crack with Object object
minus-squarebleistift2@sopuli.xyzlinkfedilinkEnglisharrow-up17arrow-down1·4 个月前Well, that happens when you don’t override the toString method. Not worse than Java’s 0xf00cu
minus-squareanton@lemmy.blahaj.zonelinkfedilinkarrow-up4·4 个月前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
Hey at least it’s not JavaScript which is perpetually high on crack with Object object
Well, that happens when you don’t override the
toString
method. Not worse than Java’s 0xf00cuHey, javas default toString gives you two informations:
1 + 1 = “11”.
[] + [] = “”
Wat.