3 ms·
Right. Instead of 4 frameworks competing, yet having mostly similar say 25 underlying functions, clojure has say 50 functions (assuming half the framework code
by mtreis86 3y ago
Right. Instead of 4 frameworks competing, yet having mostly similar say 25 underlying functions, clojure has say 50 functions (assuming half the framework code overlaps between frameworks) as libraries that can be composed to achieve the same functionality as those frameworks, and more.
- capableweb 3y agoYeah, Clojure basically takes one of the ideas from Alan J. Perlis' "Epigrams in programming" to the next level. > 9. It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures. http://www.cs.yale.edu/homes/perlis-alan/quotes.html http://www.cs.yale.edu/homes/perlis-alan/quotes.html
- stefcoetzee 3y agoWhere generally the proverbial "one data structure" is a hash map. "Just use a map" [0] [0] https://www.youtube.com/watch?v=aSEQfqNYNAc https://www.youtube.com/watch?v=aSEQfqNYNAc