On Thursday, February 2, 2017 at 10:07:31 AM UTC-5, Alex Miller wrote: > > We don't encourage you to do this, but I don't have an easier solution > than this. >
Yes, and from the general standpoint of map handling I understand that. >From the standpoint of functions that take options and don't pass option maps through to other functions, I disagree with the clojure philosophy here. So many bugs could be caught if we flagged unexpected map keys when they're used as options to functions. Of course use and validation via clojure.spec helps too, but from a general bug catching standpoint I believe there's a huge value to flagging inputs to functions that aren't recognized by the functions. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.