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

Decide if to use prefix for object names, and if so, which one #2

Open
veosotano opened this issue Dec 21, 2011 · 6 comments
Open

Decide if to use prefix for object names, and if so, which one #2

veosotano opened this issue Dec 21, 2011 · 6 comments
Milestone

Comments

@veosotano
Copy link
Member

I propose using the prefix "UI", because it gives the final author breathing room for using their own names without worrying for name collision, and because it means User Interface, which is what the framework is about.

For example:

foo { isA: UIButton }
bar { isA: UIVideoPlayer }
bla {  isA: UIWhatever }

Any more ideas?

@Mouvedia
Copy link
Member

Id support a logical prefix (either AXR or HSS).

@jakepetroules
Copy link
Contributor

UI looks pretty but AXR or HSS is probably better. HSS would make the most sense too, since it is an HSS library...

@Mouvedia
Copy link
Member

This is related to axr/specification#78.

BTW instead we could prefix with something illegal in normal object names.

@jakepetroules
Copy link
Contributor

That would both look awkward and would be problematic for the parser implementation.

@Mouvedia
Copy link
Member

For example what about .?

foo { isA: objectName, .button; }

@jakepetroules
Copy link
Contributor

Again, potentially problematic for the parser implementation. Also, didn't either you or @veosotano want the HSS framework NOT to be specially treated? If so, no naming weirdness.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants