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

Extractors Usability Study #37

Open
rbuckton opened this issue Oct 10, 2024 · 1 comment
Open

Extractors Usability Study #37

rbuckton opened this issue Oct 10, 2024 · 1 comment
Labels
Available HCI Research into HCI Frameworks or using HCI research techniques on Proposals

Comments

@rbuckton
Copy link

During the October, 2024 TC39 plenary, some concerns were raised over the potential for developers to overlook the "hidden costs" of Extractors evaluating user code via the custom matcher protocol. If possible, I would like to request a usability study to ascertain developer intuition around the feature, and whether developers would feel knowledgeable enough about the mechanics of the feature to make an informed decision about the runtime performance of using this mechanism vs. other existing mechanisms. I've regularly described the feature as "evaluating user-defined code as part of destructuring for the purpose of data validation and transformation" and that "extraction is the dual of (function) application" with the express purpose of making evident that the runtime cost you should associate with an Extractor should be roughly equivalent to the runtime cost you would associate with a function call. It would be profoundly useful to determine whether that sentiment matches developer intuition.

I'm curious as to what the process would be for such a user study, and how the study would avoid bias. Would prior experience with similar concepts in other languages be tracked? Would it be introducing developers to the syntax with or without explanation?

Related #29

@codehag codehag added HCI Research into HCI Frameworks or using HCI research techniques on Proposals Available labels Oct 11, 2024
@codehag
Copy link
Collaborator

codehag commented Oct 11, 2024

Extractors proposal is found here: https://github.com/tc39/proposal-extractors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Available HCI Research into HCI Frameworks or using HCI research techniques on Proposals
Projects
None yet
Development

No branches or pull requests

2 participants