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
Since difference and without seem to be the same thing, except that the former accepts an array and the latter accepts variables, then create a new rule to prefer only difference, for those who want to enable it. This would improve consistency, and makes it easier to use difference without wondering if it's the one that accepts arrays or separate items.
If one of the two has to be chosen, then difference is preferred, since it also has useful differenceBy and differenceWith variations.
The text was updated successfully, but these errors were encountered:
garyking
changed the title
New rule: Prefer difference over without
Rule suggestion: Prefer difference over withoutAug 14, 2019
Since
difference
andwithout
seem to be the same thing, except that the former accepts an array and the latter accepts variables, then create a new rule to prefer onlydifference
, for those who want to enable it. This would improve consistency, and makes it easier to usedifference
without wondering if it's the one that accepts arrays or separate items.If one of the two has to be chosen, then
difference
is preferred, since it also has usefuldifferenceBy
anddifferenceWith
variations.The text was updated successfully, but these errors were encountered: