Say I have a clojure map that uses keywords as its keys:
(def my-car {:color \"candy-apple red\" :horsepower 450})
I know that I can look u
From the library coding standards:
Use keyword-first syntax to access properties on objects: (:property object-like-map) Use collection-first syntax to extract values from a collection (or use get if the collection might be nil). (collection-like-map key) (get collection-like-map key)
Use keyword-first syntax to access properties on objects:
(:property object-like-map)
Use collection-first syntax to extract values from a collection (or use get if the collection might be nil).
(collection-like-map key) (get collection-like-map key)