3 ms·
"It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures." —Alan Perlis Note that I have no idea what a Rune i
by tieTYT 12y ago
"It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures." —Alan Perlis
Note that I have no idea what a Rune is. But, you should check out Clojure's api. Here's a cheatsheet: http://clojure.org/cheatsheet http://clojure.org/cheatsheet
See also: http://stackoverflow.com/questions/6016271/why-is-it-better-to-have-100-functions-operate-on-one-data-structure-than-10-fun http://stackoverflow.com/questions/6016271/why-is-it-better-...
BTW, I'd bet it takes longer to write a sort function than it does to search through api documentation and find one.