Want this course?
There are many common usage patterns that Clojure programmers use to quickly decide what collection to use. Learning the usage patterns will help you read other people's code.
Entity Usage Pattern
In Clojure, we use the Entity pattern all the time. Usually, it's the first thing we notice when learning Clojure. The Entity pattern essentially means we use a HashMap to represent information about an entity. We look at how that works, and then we go over a variety of the Entity patterns called Variant Entity. We also look at a code smell and an anti-pattern.