Rusty 🦀 Femboy 🏳️🌈@lemmy.blahaj.zone to Programmer HumorEnglish · 1 month agoI love Rustlemmy.blahaj.zoneimagemessage-square75fedilinkarrow-up1319arrow-down123
arrow-up1296arrow-down1imageI love Rustlemmy.blahaj.zoneRusty 🦀 Femboy 🏳️🌈@lemmy.blahaj.zone to Programmer HumorEnglish · 1 month agomessage-square75fedilink
minus-squarefishsayhelolinkfedilinkarrow-up6·1 month agoin which “other languages” is it so very hard?
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 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.