-
Notifications
You must be signed in to change notification settings - Fork 12
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
Rename this method "papply" #5
Comments
The fact that I argue But alas, we bikeshed :) I guess my main argument to prefer What would you name the theoretical right-side partial application if |
so would javascript papply ;)
well "app" made me first think about "application" but in JS "application" made me think more about "html5 application manifest" than to function application, while I think every JS developper is meant to known what "apply()" is about
The same we have reduce() & reduceRight() on Arrays, we can perfectly have pApply() & pApplyRight() I like API consistency within a language. As a former PHP developer, I was horrified how its different API names were not consistent and then so hard to guess or remember... |
Right, that's precisely my point – there's no difference either way.
Given zero context, I could see that being true, just as I could see "apply" being mistaken for applying for a job application. However, given a context such as as I did not know about |
|
This method is pretty much a variant of apply, so it is good to give it a more meaningful name
Even more taking into account that
otherwise, Clojure on its side name it "partial"
The text was updated successfully, but these errors were encountered: