-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Labels
editorialChanges that do not affect how the standard is understoodChanges that do not affect how the standard is understood
Description
Compare the green notes at https://streams.spec.whatwg.org/#rs-prototype to those right below https://dom.spec.whatwg.org/#event-path.
We're different than them in that we only do one API per section, so at first glance that list style isn't that necessary. But the "domintro" style shown there is a bit better than ours in a few ways:
- Nice "For web developers (non-normative)" label, instead of "Note"
- Not everything is italic.
- They don't repeat the API name (E.g. instead of "The pipeThrough method provides..." we'd just say "Provides...")
- They give very bare-bones usage examples and notation, which is sometimes nice. For example, we could use
[, x]
to denote optionality, or spell out dictionaries even if the standard treats them as a single variable, or show thattee()
s return value is usually used with destructuring, or insertawait
before promise-returning method calls... Could be nice.
Should we adapt? Should we do anything different than most specs do, because of our one-API-per-section nature? Thoughts appreciated. Once we have a plan, I'd like to turn this into a "good first bug".
Metadata
Metadata
Assignees
Labels
editorialChanges that do not affect how the standard is understoodChanges that do not affect how the standard is understood