Plurrrr

Mon 30 May 2022

Pointers, strings, and (im)mutability

I recently had a funny experience that turned out to be a great education in mutability of objects, especially strings, in Python. The experience came as a result of messing up on two Python brainteasers, getting annoyed about a seeming contradiction in the language functionality, and then going down a fascinating rabbit hole.

Source: Pointers, strings, and (im)mutability, an article by Danny D. Leybzon.