4 ms·
The thread macro is really a treat and allows for more expressive functional piping of data. A lot like dot chaining in your python/scala/rubys or cascading in
by yomly 10y ago
The thread macro is really a treat and allows for more expressive functional piping of data. A lot like dot chaining in your python/scala/rubys or cascading in Javascript - get a lot done with minimal boilerplate
- JBiserkov 10y agoClojure even has a .. macro which makes dot chaining even more readable - the resulting code has less dots and less parenthesis than the equivalent java/python/ruby/scala code!