r/programminghorror • • 29d ago

Python I love Python

303 Upvotes

81 comments sorted by

View all comments

Show parent comment

16

u/4xe1 29d ago

Because it is. Shallow copy versus deep copy is a whole area of study. Rust does it very cleanly and infers a lot of busy work, but it still needs explicit instruction from the user as to what to copy how every now and then.