-
Notifications
You must be signed in to change notification settings - Fork 100
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
Define initializing variables and setting them? #88
Comments
(Additional question here is whether the type of a variable is allowed to change. I'd say no...) |
This seems trivial but people seem to really appreciate guidance here. See e.g. https://garykac.github.io/procspec/ "local variables" section. Agreed we can get away with no One thing to also give clarity on is the "scope" of definitions. E.g. we've been trying to avoid declaring variables with "let" inside of "if" blocks. I think the type of a variable isn't something we should touch, or at least we shouldn't go beyond a "should" recommendation. Specs are not strongly-typed enough for any recommendation here to make general sense. |
Yeah, there's lots of disagreement here, see for example: whatwg/webidl#323 (comment). |
I.e., let and set. We could do that with
<dfn>
, but I don't think we want to require documents to link instances.The text was updated successfully, but these errors were encountered: