3 ms·
Reminiscent of Clojure's get-in function as well. [1] [1] https://clojuredocs.org/clojure.core/get-in https://clojuredocs.org/clojure.core/get-in
by aaron-santos 10y ago
Reminiscent of Clojure's get-in function as well. [1]
[1] https://clojuredocs.org/clojure.core/get-in https://clojuredocs.org/clojure.core/get-in
- emidln 10y agoThis is more like a clojure macro in that it runs via a compiler extension to avoid the runtime call overhead of something like get-in. Seeing how verbose and painful it looks, it's also an interesting commentary on macros in JS.