January 2017
Intermediate to advanced
565 pages
13h 46m
English
Clojure has very strong opinions about concurrency, in order to take it in a simpler way it redefines what state and identity mean. Let's explore the meaning of this concepts in Clojure.
When talking about state in Java, you probably think about the values of the attributes of your Java classes. The state in Clojure is similar to Java, it refers to the values of objects but there are very important differences that allow simpler concurrency.
In Clojure, identity is an entity that might have different values over time. Consider the following examples:
Read now
Unlock full access