del() vs omit()
rstacruz opened this issue · 7 comments
It seems they're functionally equivalent. Am I missing something? It might be worth documenting how they're different :)
This is why I want to rename immutable helpers to be exactly what they are.
Omit is immutable-delete :)
Lol. Holy crap, had no idea del was mutable. BRB fixing bugs I didn't know
about
On Thu, Aug 25, 2016, 1:38 PM Tejesh Mehta notifications@github.com wrote:
This is why I want to rename immutable helpers to be exactly what they are.
Omit is immutable-delete :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#146 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEikdAD7BPUizJeP8AZZL2QUAWv68Qbks5qjSpfgaJpZM4Jsnga
.
For the record, what mutable functions are there in 101?
On Thu, Aug 25, 2016, 1:54 PM Rico Notifications <
notifications@ricostacruz.com> wrote:
Lol. Holy crap, had no idea del was mutable. BRB fixing bugs I didn't know
aboutOn Thu, Aug 25, 2016, 1:38 PM Tejesh Mehta notifications@github.com
wrote:This is why I want to rename immutable helpers to be exactly what they
are.Omit is immutable-delete :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#146 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEikdAD7BPUizJeP8AZZL2QUAWv68Qbks5qjSpfgaJpZM4Jsnga
.
Also, if immutable is the norm in 101, it might be better to mark the
mutable ones instead.
On Thu, Aug 25, 2016, 1:55 PM Rico Notifications <
notifications@ricostacruz.com> wrote:
For the record, what mutable functions are there in 101?
On Thu, Aug 25, 2016, 1:54 PM Rico Notifications <
notifications@ricostacruz.com> wrote:Lol. Holy crap, had no idea del was mutable. BRB fixing bugs I didn't
know aboutOn Thu, Aug 25, 2016, 1:38 PM Tejesh Mehta notifications@github.com
wrote:This is why I want to rename immutable helpers to be exactly what they
are.Omit is immutable-delete :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#146 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEikdAD7BPUizJeP8AZZL2QUAWv68Qbks5qjSpfgaJpZM4Jsnga
.
put, omit, and technically pluck (unless plucking to an object, which would not be a copy of that object)
put and omit are labelled as immutable. Definitely why I want to create an index in the readme and rename things. I've been waiting for a major update to do this. Thinking about what do w/ es6 methods would be good to avoid double major bumps in close proximity (that or deprecate via warning.. not sure yet).
created a "2.0.0" issue to discuss the mutable/immutable issue and "index" issue to discuss documentation updates. Closing this.