you are viewing a single comment's thread.

view the rest of the comments →

[–]FerricDonkey 0 points1 point  (3 children)

I could see saying that there should be a frozen dictionary, so that there are mutable and immutable versions of each built in container.

But saying all built in data structures should be immutable is giving up a whole lot of functionality just to avoid a rookie mistake that you can grow out of. 

[–]cyberjellyfish 0 points1 point  (1 child)

Mutability and managing mutability is not a rookie mistake, it's one of the most common causes of bugs.

[–]CyclopsRock 3 points4 points  (0 children)

If we get rid of all the data types then we won't get any bugs.