ContextInstitute / bfcom

http://bfn.context.org
GNU General Public License v3.0
4 stars 1 forks source link

Function prefix #26

Open rgilman opened 5 years ago

rgilman commented 5 years ago

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 commented 5 years ago

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.