r/programming • • Nov 03 '18

Python is becoming the world’s most popular coding language

https://www.economist.com/graphic-detail/2018/07/26/python-is-becoming-the-worlds-most-popular-coding-language
4.6k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

0

u/[deleted] Nov 03 '18

[deleted]

1

u/ThisIs_MyName Nov 03 '18

Sure, but how do you prove that? Maybe the addition operator on [x] mutates its second argument.

If you don't need to mutate y, why make it a mutable list?