bterwijn to Python · 5 months agoPython Mutabilityimagemessage-square20linkfedilinkarrow-up156arrow-down13file-text
arrow-up153arrow-down1imagePython Mutabilitybterwijn to Python · 5 months agomessage-square20linkfedilinkfile-text
minus-squarebterwijnOPlinkfedilinkarrow-up3·5 months agoYes, that is a surprise to many, in other languages ‘x+=y’ and ‘x=x+y’ are the same.
Yes, that is a surprise to many, in other languages ‘x+=y’ and ‘x=x+y’ are the same.