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