Skip to content

Should classes be nominally or structurally typed? #4

Open
@samuelgoto

Description

@samuelgoto

(porting comments from an early review from @domenic to github issues)

@domenic: JS is generally structurally typed, so introducing nominal typing sounds awkward.

TODO(@goto, @dimvar): write this up.

@erights: is this (nominal typing) closer to the semantics of the runtime checks, like instanceof?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions