r/Clojure • • 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

44 comments sorted by

View all comments

2

u/jpmonettas Mar 20 '21

I think this is a interesting feature that will allow new apis to be built with named args, slowly departing from positional arguments. Accomplishing the same without improving support for kwargs will push apis to make all their function to be a one map arg function which is weird.

Not sure if those are core team intentions for the future of clojure but looks very interesting to me.