On 23 April 2010 12:21, joshua-choi rbysam...@gmail.com wrote:
When it comes to naming factory functions—functions that create things—
clojure.core gives four precedents:
1. Name it exactly what the new object is called. vector, hash-map,
set.
2. Name it a shortened version of #1. vec.
3
:
When it comes to naming factory functions—functions that create things—
clojure.core gives four precedents:
1. Name it exactly what the new object is called. vector, hash-map,
set.
2. Name it a shortened version of #1. vec.
3. Prefix #1 with make-. make-hierarchy, make-array.
4. Prefix #1
When it comes to naming factory functions—functions that create things—
clojure.core gives four precedents:
1. Name it exactly what the new object is called. vector, hash-map,
set.
2. Name it a shortened version of #1. vec.
3. Prefix #1 with make-. make-hierarchy, make-array.
4. Prefix #1