Skip to content

Avoid the "undefined behavior" term #1204

Closed
@ioggstream

Description

@ioggstream

I suggest

  • to avoid using the term "undefined behavior" and explicit that some non-interoperable pattersn such as duplicate json keywords, like the one below are valid json schema documents
{ "foo": 1, "foo": 2 }

Note

While many implementer thing that "undefined behavior" means "do whatever you want", it actually means "don't do it". I suggest to avoid it and to explicitly state what is valid / in-scope for the specification and what doesn't.

This approach will make the document easier, and allows the reader to actually focus on the relevant parts.

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