←back to thread

498 points azhenley | 1 comments | | HN request time: 0.315s | source
1. wodenokoto ◴[] No.45771979[source]
Mutability was by far the most difficult thing when learning Python and mutating objects by iterating over its items do get confusing, even as a senior.

When I was first learning I thought all methods would mutate. It has a certain logic to it