Claude Pache wrote:
You're right that people are good at language adaptation, thus it is not
necessary to go as far as to change the nomenclature. The main concern remains,
that they usetoday `Object.isObject` by meaning probably `isReferenceObject`,
so it is prudent not to standardise something else under this very name.
Agreed -- I will fix in the forthcoming strawman revision.
> How about Object.isReference?
Instead of `!Object.isValue`?
Yes, in case that is a sharper way to phrase it.
Indeed, for me I test more naturally for a Reference Object ("is it an Object-like
or not?") than for a Value. Plus, `s/ \b Object.isObject \b / Object.isReference
/xg` would refactor some expected legacy code in an twinkling of an eye.
Great point. Sold. Thanks for the patient and thoughtful feedback!
/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss