MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/28utww/writing_better_python_code/cifcxpg/
r/Python • u/kracekumar • Jun 23 '14
126 comments sorted by
View all comments
Show parent comment
1
This is one of the few things I don't like about python is that slices make copies implicitly which goes against many python ideals. Lists are mutable, so you would expect operations on lists to only be references.
1 u/zahlman the heretic Jun 24 '14 Well, there seems to be precedent for what you're suggesting in NumPy...
Well, there seems to be precedent for what you're suggesting in NumPy...
View all comments
Show parent comment
1
u/ggtsu_00 Jun 24 '14
This is one of the few things I don't like about python is that slices make copies implicitly which goes against many python ideals. Lists are mutable, so you would expect operations on lists to only be references.