Albbi@piefed.ca to Programmer Humor@programming.devEnglish · 2 months agoObject oriented programming in Python be like:media.piefed.caexternal-linkmessage-square49linkfedilinkarrow-up1488
arrow-up1488external-linkObject oriented programming in Python be like:media.piefed.caAlbbi@piefed.ca to Programmer Humor@programming.devEnglish · 2 months agomessage-square49linkfedilink
minus-squareunalivejoy@lemmy.ziplinkfedilinkarrow-up21·2 months agoOh, you assigned a method to a variable before calling it? Congratulations, this is now undefined.
minus-squarepinball_wizard@lemmy.ziplinkfedilinkarrow-up4·1 month agoYes. There’s no telling what this is. this could be anything. We tried to keep track of this, but no one knows when this will change.
minus-squareunalivejoy@lemmy.ziplinkfedilinkarrow-up7·1 month agoI used to be with this, but then they changed what this was. Now what I’m with isn’t this, and what’s this seems weird and scary to me. This’ll happen to you!
Oh, you assigned a method to a variable before calling it? Congratulations,
this
is nowundefined
.Yes. There’s no telling what
this
is.this
could be anything. We tried to keep track ofthis
, but no one knows whenthis
will change.I used to be with
this
, but then they changed whatthis
was.Now what I’m with isn’t
this
, and what’sthis
seems weird and scary to me.This’ll happen to you!