MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Clojure/comments/m7wdbd/clojure_keyword_argument_functions_now_also/grfo062/?context=3
r/Clojure • u/SimonGray • Mar 18 '21
44 comments sorted by
View all comments
18
Maybe I'm missing something but, what's the point of this? I've been writing clojure for a decade and I never found myself wishing for this.
I never use varargs in cases like this. It should just be a single map argument.
This feature seems like weird magic that is going to confuse people reading the code, for benefits that elude me.
18
u/[deleted] Mar 19 '21
Maybe I'm missing something but, what's the point of this? I've been writing clojure for a decade and I never found myself wishing for this.
I never use varargs in cases like this. It should just be a single map argument.
This feature seems like weird magic that is going to confuse people reading the code, for benefits that elude me.