Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Figure out way to declare component type bits as constants #1

Open
tedsta opened this issue Sep 12, 2013 · 0 comments
Open

Figure out way to declare component type bits as constants #1

tedsta opened this issue Sep 12, 2013 · 0 comments

Comments

@tedsta
Copy link
Owner

tedsta commented Sep 12, 2013

Right now, you declare component type bits like so:

var FooComponentType = fission.NextComponentType()

Obviously, these variables can be modified, but they should never be modified. It would be more idiomatic if they were constant. However, you can't use a function to initialize constants since they are processed at compile time.

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

No branches or pull requests

1 participant