#clojure style Q: should bool kw args end with questionmark? eg. (plot xs :trendline? true) or (plot xs :trendline true)
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I like it when they do, e.g. https://git.io/vKCmZ . More importantly though, I'd pass such args in a map: (plot xs {:tr? true}).
-
If your args are a map you can process and alter them like a map before passing to the function. Rest kw args are unwieldy.
-
don't worry I usually use an explicit map to make the fn work nicely with partial and ->>. Not sure why I picked that example.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.