hairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agocall the doctor, the CS doctorlemmy.worldimagemessage-square46fedilinkarrow-up1407arrow-down128
arrow-up1379arrow-down1imagecall the doctor, the CS doctorlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square46fedilink
minus-squareHurglet@lemmy.basedcount.comlinkfedilinkarrow-up7·1 year agoIt’s not the ternary operator, it is the walrus operator introduced in Python 3.8 if I’m correct
minus-squareconditional_soup@lemm.eelinkfedilinkarrow-up6arrow-down1·1 year agoYou are correct. I came back to say that I’ll use the walrus operator when it’s pushed into my cold, dead hands, but… I might actually use it, now that I’ve refreshed myself on it.
It’s not the ternary operator, it is the walrus operator introduced in Python 3.8 if I’m correct
You are correct. I came back to say that I’ll use the walrus operator when it’s pushed into my cold, dead hands, but… I might actually use it, now that I’ve refreshed myself on it.