5 Respostas
+ 2
Seb TheS if i'm not mistaken, you've defined immutable not mutable. [FIXED]
Deepak Bhamla
Mutable are those that can be changed and modified (e.g: lists in python). Hashable objects are fixed values objects, all hashable objects are immutables but not all immutables are hashable objects. (e.g: dictionary keys are hashable, tuples are "usually" hashables).
-My definitions and examples are mainly python.
+ 3
Mo Hani thsnks
+ 2
Mo Hani fixed
+ 1
Same here
+ 1
Mutable object is an object, whose values can be changed its after object's creation.
I don't know what is hashable, hashtable? Hashtable is an array, whose values can be indexed with keys of any datatype.