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

Design of "Functions and Classes"? #2420

Open
jmdyck opened this issue May 30, 2021 · 0 comments
Open

Design of "Functions and Classes"? #2420

jmdyck opened this issue May 30, 2021 · 0 comments
Labels

Comments

@jmdyck
Copy link
Collaborator

jmdyck commented May 30, 2021

(This is a follow-up to #2417 (comment); I didn't want to send that discussion off-topic.)

Does clause 15 (Functions and Classes) have a 'design'? E.g., guidelines that would inform a decision about where new stuff goes?

Currently, it looks pretty haphazard to me. E.g., "Async Function Definitions" and "Async Arrow Function Definitions" are adjacent; okay so then why isn't "Async Generator Function Definitions" grouped with them? Maybe it 'wants' to be close to "Generator Function Definitions", but then why doesn't that apply to the other Async clauses?

And the placement of "ClassDefinitions" (between two Async clauses) seems odd.

Clause 27 ("Control Abstraction Objects"), which deals with some of the same categories, also seems jumbled.

@jmdyck jmdyck added the question label Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant