Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wording change: Dedupe dictionary member type and default definitions #526

Merged

Conversation

inexorabletash
Copy link
Member

@inexorabletash inexorabletash commented Jan 23, 2024

Bikeshed automatically annotates dictionary members with types and defaults, so repeating that in the prose is extra work and extra noise. Remove both and reword as needed. For #483

Also:

  • Simplify text by removing "Specifies" from most definition prose.
  • Replace "sequence" with "list" in prose.
  • Consistently give list member definitions using *[ ... ]* styling.
  • Document the above in coding conventions.

This probably merits some discussion, so uploading early for comments.


Preview | Diff

@inexorabletash
Copy link
Member Author

I don't feel strongly about this - in particular the convention is unique to this spec, so far as I can tell. Being consistent means it'll be easy to update later.

@zolkis
Copy link
Collaborator

zolkis commented Jan 25, 2024

More concise, I prefer it this way.

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with nits, thanks much!

index.bs Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
Bikeshed automatically annotates dictionary members with types and
defaults, so repeating that in the prose is extra work and extra
noise. Remove both and reword as needed. For webmachinelearning#483

Also:

- Simplify text by removing "Specifies" from most definition prose.
- Replace "sequence" with "list" in prose.
- Consistently give list member definitions using *[ ... *] styling.
- Document the above in coding conventions.
@anssiko
Copy link
Member

anssiko commented Feb 6, 2024

I feel like this is a strict improvement. Also good to see SpecCodingConventions.md maintained. Thanks @inexorabletash!

Merging this wording change PR.

@anssiko anssiko merged commit f9b86b6 into webmachinelearning:main Feb 6, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Feb 6, 2024
…#526)

SHA: f9b86b6
Reason: push, by anssiko

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the wording-dict-defn-dedupe branch February 6, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants