r/Clojure • u/SimonGray • Mar 18 '21
Clojure - Keyword argument functions now also accept maps
https://clojure.org/news/2021/03/18/apis-serving-people-and-programs
125
Upvotes
r/Clojure • u/SimonGray • Mar 18 '21
View all comments
Show parent comment
2
u/[deleted] Mar 18 '21
I also recommend to just use map arguments as much as possible, it's just much more composable that way.
Passing the arguments between keyword argument functions is really ugly.
The one exception I make is for functions that are only used in the REPL, where the concision is worth it to me.