4 ms·
Clojure is a bigger language than small custom DSL.
by dozzie 11y ago
Clojure is a bigger language than small custom DSL.
- mtrimpe 11y agoThe parts of Clojure required to write a config file are probably roughly the same size as a custom DSL though. Maps and lists are gonna be maps and lists...
- dozzie 11y agoExcept for Clojure's data model. You'll still need to understand what apostrophe ("'") does and what keyword (":foo") is.
- outworlder 11y agoYou can do that in five minutes. You can easily spend days trying to understand some arcane, adhoc configuration syntax that someone came up with. And still get the non-trivial cases wrong. It's a good thing that it's Clojure and not some freakish turing-complete XML-based configuration file.
- mhluongo 11y agoCustom DSLs eventually pick up those things, anyway. Greenspun's 10th rule? http://c2.com/cgi/wiki?GreenspunsTenthRuleOfProgramming http://c2.com/cgi/wiki?GreenspunsTenthRuleOfProgramming
- dorfsmay 11y agoI had forgotten about this... Thanks!