Rusty 🦀 Femboy 🏳️🌈@lemmy.blahaj.zone to Programmer Humor@lemmy.mlEnglish · 1 month agoI love Rustlemmy.blahaj.zoneimagemessage-square75fedilinkarrow-up1322arrow-down123
arrow-up1299arrow-down1imageI love Rustlemmy.blahaj.zoneRusty 🦀 Femboy 🏳️🌈@lemmy.blahaj.zone to Programmer Humor@lemmy.mlEnglish · 1 month agomessage-square75fedilink
minus-squarelengau@midwest.sociallinkfedilinkarrow-up7arrow-down1·1 month agoIn Python it’s really hard! def __eq__(self, other): ... How do you even write those subscripted hyphens???
minus-squarezagaberoo@beehaw.orglinkfedilinkarrow-up3arrow-down1·1 month agoIf you’ve got a complex and potentially nested object, what does the body of this simple function look like? That’s what they mean.
In Python it’s really hard!
def __eq__(self, other): ...
How do you even write those subscripted hyphens???
If you’ve got a complex and potentially nested object, what does the body of this simple function look like? That’s what they mean.