Skip to content

Use case seems valid but is relatively narrow #4

@sffc

Description

@sffc

I can be convinced that this proposal is motivated by the fact that UTF-8 proliferates widely on the Web and in other software, and it is valuable for JS to interoperate with those systems.

The main risk from my point of view is that I don't want developers to see this new shiny function and think they should generally be using it for sorting. This is a solvable problem by making sure that the function is named appropriately and with appropriate documentation.

Therefore, it would be really useful to see more specific use cases and call sites that would benefit from having this function. For example, why is a built-in function better than the SQLite library just exporting a SQLite.stringCompare function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions