-
Notifications
You must be signed in to change notification settings - Fork 9
Tracking issue for in-the-field feedback #18
Comments
Wasn't too big of a change, but the codemod replaced ~80 instances and everything seems to be working fine! Will continue to test and I'll come back if I notice anything 🎉 |
I always thought it was strange, naming consistency wise, that there is |
@lehni "key" means "string property"; |
@ljharb I wouldn't say that distinction is very strongly held, The bigger argument is that most methods are not named with their "subject" -- its The point is that we couldn't use |
Good point about |
Hi, @ljharb! The internet brought me here. So hi! And, sorry?
Have I been getting this wrong? Or do you mean "key" means "string property" only in Until now, my understanding was that
And that ☝️ understanding is why a proposal for Otherwise, if "key" should mean "string", that would mean Mind helping me out by clarifying which terms mean what? It might help me unpack all this other mental baggage. 😅 |
@jonathantneal the reality is unfortunately that there isn't a consistently clear usage of terms in the language :-( In general, I don't think That leaves us with Using "hasOwn" and leaving the predicate implicit seems like it sidesteps all this confusion, since there's no possible implication that it's just a string or just a symbol. |
|
For anyone considering the codemod from lodash, the notable difference is that |
Using this issue as a central place to collect community feedback for in-the-field experience, positive or negative.
The text was updated successfully, but these errors were encountered: