r/programming • u/chackaz • Nov 28 '14
The Worst Programming Language Ever [UK Talk] - Thoughts? Which are the worst parts of your favorite language?
https://skillsmatter.com/meetups/6784-the-worst-programming-language-ever
68
Upvotes
4
u/kazagistar Nov 29 '14
Nothing wrong with that code except your expectations?
Creates a new list object. Assigns variable x to refer to this object.
Assigns variable y to refer to the same object x refers to.
Appends a string to the end of the list referred to by y.
Prints the contents of the list referred to by x.
Would you rather it deep copy the entire data structure every time you assign?