3 ms·
I mean, the problem of assigning `fruits = aps` is not that you get apples in your fruit list, but that now elements added to fruit (not of apple type) also get
by thomasahle 11y ago
I mean, the problem of assigning `fruits = aps` is not that you get apples in your fruit list, but that now elements added to fruit (not of apple type) also get added to `aps`.
The assignment sort of goes both ways like that.
- ohnomrbill 11y agoAh, your point makes more sense now. Immutability would help a lot here, it seems.