github-actions[bot] commented on Issue #2879:
Subscribe to Label Action
cc @peterhuene
<details>
This issue or pull request has been labeled: "wasmtime:api"Thus the following users have been cc'd because of the following labels:
- peterhuene: wasmtime:api
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
vshymanskyy commented on Issue #2879:
Wondering, maybe this should be the default behavior?
tschneidereit commented on Issue #2879:
Wondering, maybe this should be the default behavior?
As @sunfishcode explained in the linked issue, we don't want this to be the default because it means that these functions pose a risk of becoming de-facto standardized. If modules start being used widely that export functions under names that future standards might want to use, then we'd risk behavior changing in weird and unexpected ways, so we'd likely be forced to choose different names.
This isn't a theoretical concern either: it's the reason why
{String, Array}.prototype.includes}
isn't calledcontains
, to give just one example.
Last updated: Nov 22 2024 at 17:03 UTC