-
Notifications
You must be signed in to change notification settings - Fork 774
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
remove unnecessary aliases #171
Comments
Removed |
…-extra update jprichardson/node-fs-extra#171 Change comments about deleting to removing to keep a common terminology in the code
Just my 2cnt:
|
|
I thought |
LOL, I guess part of what makes me prefer Perhaps push this off to post-v1.0.0? |
@jprichardson Perhaps we can revisit this for v2? I really don't know what to think. |
@manidlou Would like to know your opinions here. |
I am more inclined to keep |
readJSON would look a lot better, because JSON is an uppercase acronym. mkdirp seems best |
Personally, I'd prefer As for |
@rasenplanscher I would still go for |
@jprichardson @manidlou @JPeer264 given the amount of divergence in ideas here, and how much code in the wild would be affected, I vote we close this and keep the aliases as they stand for now, but make an effort not to add new aliases in the future. |
I read through the comments here, it seems that everybody has different prefs. As this library has got those aliases over some time now, it might be a bit confusing if the one or other preferred alias is not available anymore in the next major release. I would also suggest to keep those aliases, but don't add any new aliases in the future. I would just remove aliases if they don't make sense, but here, all aliases make sense for me. |
Agreed! |
Closing for now as per #171 (comment); @jprichardson reopen if you disagree. |
Inspired by this: ramda/ramda#574 (comment) most aliases should be removed...
delete()
alias toremove()
. Most style guides frown upon using a reserved keyword for a field / method name. So this should definitely be removed.Questions:
ensureDir()/mkdirp()/mkdirs()
be condensed into one?json
methods... should it beJson
orJSON
? I'm inclined to keep both of these variations but keep promotingJson
.The text was updated successfully, but these errors were encountered: