Skip to content

WebIDL interfaces should only be used when you have both data and behavior #11

Open
@domenic

Description

@domenic

I see a lot of classes that have only data, or have only behavior. Both of these cases should be represented by plain JS objects.


Edit by TAG: Current TAG thinking here

Metadata

Metadata

Labels

Status: Consensus to writeWe have TAG consensus about the principle but someone needs to write it (see "To Write" project)tc39-trackerIssues where TC39 input would be useful

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions