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

Consider better shortcut versions for getDescriptor and getObservable #54

Open
medikoo opened this issue Feb 10, 2016 · 0 comments
Open
Assignees

Comments

@medikoo
Copy link
Owner

medikoo commented Feb 10, 2016

/cc @kamsi @mtuchowski

Currently there's $ prefix for descriptors and _ for observables.

Both seem controversial, and to uninitiated developer they provide just wrong clues on what's behind (e.g. $ may suggest some jQuery call, while _ a private property).

Initial proposal is to introduce d and o methods, So instead of obj.$foo or obj._foo, developer may use obj.d('foo') and obj.o('foo').

Better proposals are welcome

@medikoo medikoo self-assigned this May 2, 2016
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

No branches or pull requests

1 participant