Rusty 🦀 Femboy 🏳️🌈@lemmy.blahaj.zone to Programmer Humor@lemmy.mlEnglish · 2 years agoI love Rustlemmy.blahaj.zoneexternal-linkmessage-square68linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkI love Rustlemmy.blahaj.zoneRusty 🦀 Femboy 🏳️🌈@lemmy.blahaj.zone to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square68linkfedilink
minus-squarefishsayhelo@lemmy.mllinkfedilinkarrow-up0·2 years agoin which “other languages” is it so very hard?
minus-squarelengau@midwest.sociallinkfedilinkarrow-up0·2 years agoIn Python it’s really hard! def __eq__(self, other): ... How do you even write those subscripted hyphens???
minus-squarezagaberoo@beehaw.orglinkfedilinkarrow-up0·2 years 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 which “other languages” is it so very hard?
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.