> To understand this post you need to understand what values are. In simple terms, entities that can be compared, have a magnitude, and are immutable are values.
> How can you tell if something is a value? Easy, just ask whether it is immutable.
I've never seen this definition of the term 'value' used in Python.
It may (or may not) be the case in Clojure (the author links to a Rich Hickey talk to justify his assertion). But I'm nearly certain that it's false with respect to Python
2 comments
[ 2.8 ms ] story [ 17.3 ms ] thread> How can you tell if something is a value? Easy, just ask whether it is immutable.
I've never seen this definition of the term 'value' used in Python.
It may (or may not) be the case in Clojure (the author links to a Rich Hickey talk to justify his assertion). But I'm nearly certain that it's false with respect to Python