2013/7/23 Softaddicts <[email protected]>: > Maybe we need an simpler alternative to the ns macro without all > these complex options :) > > With a short name like ns-stop-banging-your-head-on-the-wall :)
would violate the "rule" use often => short name ;-) > > Or the reverse, ns-make-your-life-more-chaotic... Deal :-D > > :) > > Luc P. > >> It's not as if *some* (cough cough) parts of Clojure were'nt >> opinionated, right? :-) >> >> Having in the (ns) macro the possibility to use :use, to use :require, >> to use :refer-clojure, to use :require-macros can be daunting, and not >> only for newcomers! >> >> And not to mention that the vast majority of the docstring for ns >> talks about :gen-class defaults ! >> >> And all this choice for only historical reasons is not opinionated >> enough for my taste! >> >> I'd be willing too, to deprecate a couple things: >> >> :use :all in favor of :require :all >> :use :only in favor of :require :only >> >> Let's be opinionated! :-D >> >> I think that's the only subset that has a chance to pass without >> having to gather a commitee at the next Clojure-conj ;-) >> >> >> 2013/7/23 Softaddicts <[email protected]>: >> > None of what has been said so far makes me believe that our usage of >> > "use" is "bad". It's like a rope, you can use it for useful purposes or >> > you can >> > hang yourself. You use it at your own taste and will. >> > >> > Lack of discipline does not constitute for me a reason to trash a feature >> > as scarce >> > as his usefulness seems to be. >> > >> > :refer :all can be used as badly as :use. >> > >> > I am not convinced that removing a facade and leaving the feature available >> > through a backdoor makes life better for anyone. :use is easily searchable >> > and >> > quite obvious. Not sure about spotting :refer :all in 15 name space require >> > clauses. >> > >> > You will simply end up say "do not use refer all" instead >> > of warning against using use. >> > >> > Gee, What a lot of "use"s in this thread :) >> > >> > Luc P. >> > >> >> One of the main issues I have faced with :use is, understanding a >> >> non-trivial codebase becomes very difficult and almost always requires >> >> Emacs Meta-dot. >> >> >> >> I'd vote for deprecating :use. >> >> >> >> Shantanu >> >> >> >> -- >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups "Clojure" group. >> >> To post to this group, send email to [email protected] >> >> Note that posts from new members are moderated - please be patient with >> >> your first post. >> >> To unsubscribe from this group, send email to >> >> [email protected] >> >> 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 [email protected]. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> >> >> >> >> > -- >> > Softaddicts<[email protected]> sent by ibisMail from my ipad! >> > >> > -- >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Clojure" group. >> > To post to this group, send email to [email protected] >> > Note that posts from new members are moderated - please be patient with >> > your first post. >> > To unsubscribe from this group, send email to >> > [email protected] >> > 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 [email protected]. >> > For more options, visit https://groups.google.com/groups/opt_out. >> > >> > >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with your >> first post. >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > -- > Softaddicts<[email protected]> sent by ibisMail from my ipad! > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
