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