-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alias as better-cond #10
Comments
OTOH, it's not exactly expressive to have a contruct called Another option would be to choose a more meaningful name. |
Thanks for the comments, glad you find it useful. I don't really see the benefit of your proposal. So the existing mechanism is every bit as concise as your proposal. |
Hmm, concision is not my exact concern, see the first two bullet points. Personally I can type I don't have to type much with either choice, but with my proposal, one's code becomes more meaningful. |
OK, if concision doesn't matter then it really comes down to: Why do you prefer the hyphen over the slash? It's a pretty subtle difference, but I'd argue that But more importantly, the ability to provide an alias gives everyone total choice and preference over what matters to them. If you like the meaning of |
Hey there, apologies for letting this issue pile up in my email
Because my intended usage is requiring with
My suggestion was implementing
|
Hey there, great macro!
I find there's a 'usability' issue though:
refer-clojure
, it's ugly and I have to type it (potentially many times):as
alias likeb
orbetter
, or a redundant one likebetter-cond
If you offered a
defmacro better-cond ...
alias, I could just:better-cond
[better-cond.core :refer [better-cond]]
auto-inserted, just like with any other macroWDYT?
Cheers - Victor
The text was updated successfully, but these errors were encountered: