Skip to content

Editorial: align with Infra #348

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

Merged
merged 3 commits into from
Apr 23, 2025
Merged

Editorial: align with Infra #348

merged 3 commits into from
Apr 23, 2025

Conversation

annevk
Copy link
Member

@annevk annevk commented Apr 22, 2025

Make several improvements:

  • Stop using "then" before nested steps.
  • Start using "then" after an if conditional.
  • Use camel case for variables (codeUnit, not code unit).
  • Stop manipulating state and initializing variables in a conditional for nested steps.

(More needs to be done, but this also needs to be reviewable.)


Preview | Diff

Make several improvements:

- Stop using "then" before nested steps.
- Start using "then" after an if conditional.
- Use camel case for variables (codeUnit, not code unit).
- Stop manipulating state and initializing variables in a conditional for nested steps.

(More needs to be done, but this also needs to be reviewable.)
@annevk annevk requested a review from domenic April 22, 2025 16:46
@inexorabletash
Copy link
Member

I did a drive-by review and LGTM, if that's useful.

I was mostly curious about the "Stop using "then" before nested steps." change, as for WebNN we'd settled on the opposite (i.e. always pairing "if" with "then"). Nice to see conventions emerge!

@annevk annevk merged commit 82a4dfa into main Apr 23, 2025
2 checks passed
@annevk annevk deleted the annevk/infra-alignment branch April 23, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants