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

Remove "otherwise" language after throwing in algorithms. #438

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

evanstade
Copy link
Contributor

@evanstade evanstade commented Jan 10, 2025

Remove "otherwise" language after throwing exceptions in algorithmic steps.

The following tasks have been completed:

  • Confirmed there are no ReSpec/BikeShed errors or warnings.
  • Modified Web platform tests (link to pull request)

Implementation commitment:


Preview | Diff

@inexorabletash inexorabletash merged commit 8ce5425 into w3c:main Jan 10, 2025
2 checks passed
@inexorabletash
Copy link
Member

I think this is fine. I don't think the "Otherwises" were actively hurting anything, but shorter is usually better.

I'll note there are also a few places in the spec that have "If... return ..." / "Otherwise, ..." which could be similarly shortened.

github-actions bot added a commit that referenced this pull request Jan 10, 2025
SHA: 8ce5425
Reason: push, by inexorabletash

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants