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

Function prefix #26

Open
rgilman opened this issue Sep 22, 2018 · 1 comment
Open

Function prefix #26

rgilman opened this issue Sep 22, 2018 · 1 comment

Comments

@rgilman
Copy link
Member

rgilman commented Sep 22, 2018

To avoid collisions with other functions we should adopt a consistent prefix for all of our function names. I expect that "bfc-" would work.

Thoughts on this?

@iangilman
Copy link
Member

Good idea. Of course it should be bfc_ not bfc-, but yes, that seems perfect; nice and short but distinctive.

I suppose we could consider adding bfc- to CSS class names for new styles we add as well, though that might get tiresome, since there may be quite a few. I think I'm in favor of doing the prefix for PHP functions but not CSS classes.

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

2 participants