3 ms·
Exposure to Go and Clojure brings the opposite effect: "I don't really want this glitzy thing. Functions, plain data and a bit of polymorphism is all it takes
by dottedmag 7y ago
Exposure to Go and Clojure brings the opposite effect:
"I don't really want this glitzy thing. Functions, plain data and a bit of polymorphism is all it takes to solve the problem"
- cultofmetatron 7y agouh... clojure is a lisp and supports full blown macros. Surem 95% of the time, Functions, plain data and a bit of polymorphism is all you need. those higher abstractions are for flattening the curve on making easy to use libraries. They are sharp tools. Go decides to hand you safety scissors, clojure gives you a high end razor sharp knife and expects you to be educated on its proper usage.
- dottedmag 7y agoAnd that "proper usage" is basically "never". I remember a lot of macros-based libraries early, however it turned out they are not composable, so they grew a plain functions-and-data interface. New libraries don't use macros much. AFAICT the role of macros in modern Clojure is limited to new control constructs.
- 3fe9a03ccd14ca5 7y ago“And solving the problem in the simplest way possible is what I’m paid to do.”