You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using _ as a placeholder obviates the need for the In method conversions, because they only save a single character at the cost of new things to learn:
F.someMethodIn(x) vs _.someMethod(_, x)
Additionally, sometimes our conversion methods would be useful together, e.g. an In and an On. A good example is unset - you might want to unset both in and on an object, and defining compound conversion conventions seems messy (unsetIon?).
In order to make this work, we either need to explicitly curry all our conversions, or wait for lodash/lodash#3440 to be fixed
The text was updated successfully, but these errors were encountered:
Using
_
as a placeholder obviates the need for theIn
method conversions, because they only save a single character at the cost of new things to learn:F.someMethodIn(x)
vs_.someMethod(_, x)
Additionally, sometimes our conversion methods would be useful together, e.g. an
In
and anOn
. A good example isunset
- you might want to unset both in and on an object, and defining compound conversion conventions seems messy (unsetIon
?).In order to make this work, we either need to explicitly curry all our conversions, or wait for lodash/lodash#3440 to be fixed
The text was updated successfully, but these errors were encountered: