Skip to content
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

2.0.0 #150

Open
tjmehta opened this issue Aug 25, 2016 · 3 comments
Open

2.0.0 #150

tjmehta opened this issue Aug 25, 2016 · 3 comments

Comments

@tjmehta
Copy link
Owner

tjmehta commented Aug 25, 2016

es6 utils removal or deprecations?

rename mutable methods to mutable-
rename put and omit to set and delete/del

@rstacruz
Copy link
Contributor

Another suggestion would be to have a 101/mut/ namespace for mutable functions. This makes it easier to spot which are immutable, and allows you to use the same names for immutable and mutable versions.

require('101/delete')
require('101/mut/delete')

@rstacruz
Copy link
Contributor

On the README, it'd be nice to have pointers to what is not implemented (eg, deprecations). So something like:

Deprecations

These functions are no longer available in 2.0.

Function Equivalent
map Array.prototype.map, npm: object-loops/map
assign Object.assign, npm: object-assign
find Array.prototype.find
isArray Array.isArray

@rstacruz
Copy link
Contributor

rstacruz commented Aug 25, 2016

Re: ES6 transpilation (#42): I'd like to avoid build steps if it's avoidable. 101 is about small micro-utilities. Writing in ES6 syntax isn't going to give any significant productivity boost, nor will it make 101 more useful in any way.

If you do decide on writing in es6, just avoid using export default myFunction — it'll make non-Babelers need to do require('101/del').default :(

(Just my personal opinion, of course!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants