Hacker News new | ask | show | jobs
by mahidhar 2696 days ago
An interesting observation in the article is the data structures DSL that the author goes into quite a bit of detail, which is essentially what most Clojure/Lisp developers also talk about.

Basically the author points out a lot of benefits of using the native serialisable data structures of the language itself to model the domain, instead of creating a separate representation which has to be parsed, optimised, evaluated, etc. Lisp users just take the same idea one step further by having the "host" language also be represented using the same data structures, instead of just the DSL's.

As Alan Perlis said, "It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures."