|
|
|
|
|
by rak1507
1800 days ago
|
|
Yeah, I've not used lisps much myself but it's definitely similar. See https://kparc.com/lisp.txt. The quote by Alan Perlis, 'It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.' is also relevant to both lisp dialects and array languages. |
|
I guess Clojure takes things a step further. It goes from "everything is a list" to something slightly broader with Vectors/Maps/Sets/etc. - all through language primitives. (the algorithmic layer is cleverly done through the sequence abstraction)
Coming from C++, in effect having your STL containers/algos baked into the language is a breath of fresh air :)