|
|
|
|
|
by dizzystar
4970 days ago
|
|
That makes sense. I was under the impression that they were using it for their program-specific items. Using single letters for common things like k, v, f, args, etc seem more "universal" to other languages than using (defn f [a b c d e] ...). Of course, he didn't show us any of the funky code he was talking about, but I get this impression from the line about using single letter names instead of highly descriptive names. I should also take the time to look at the Clojure Core one day. Thanks for reminding me to put that on my to-do list. |
|
1. Bootstrapping. Some functions are defined somewhat verbosely because the higher order functions are defined later.
2. Performance. By definition, everyone uses core, so core is on everyone's critical path. Therefore, core must sacrifice idiomatic code and brevity for performance. You should make the same tradeoffs only after measuring.
3. Evolution. Clojure has gained features and, since stability is valued, core doesn't get revamped to utilize them without greater justification.