C. · @cazabon
169 followers · 4177 posts · Server mindly.social

@matt

Oh, and sets too.

Example with shallow list copy and an embedded mutable object (another list):

>>> a = [1, 2, [3, 4]]
>>> b = a.copy()

>>> b
[1, 2, [3, 4]]
>>> b[0] = 5
>>> b
[5, 2, [3, 4]]

>>> a
[1, 2, [3, 4]]

>>> b[2][0] = 8
>>> a
[1, 2, [8, 4]]
>>> b
[5, 2, [8, 4]]

#mutability #copy #whotouchedmy

Last updated 1 year ago

remotevoices · @remotevoices
405 followers · 1738 posts · Server mastodon.xyz

Something I've spent a lot of time thinking about, being fascinated by in recent years, is the idea of "narrative mutability", the infinite tweaks that can be made to a story, to a piece of art. The multiverse of possibilities, the perpetual reboot, the cover version, the remix. Though, with that more than just the lazy "retelling of a story that you weren't interested in but are suddenly supposed to be interested in now."
to that end:
sanvtto.bandcamp.com/track/nin

#writing #reading #art #mutability

Last updated 2 years ago