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

Recommend PascalCase for class names (not camelCase) #89

Open
Mark2Mark opened this issue Oct 11, 2023 · 0 comments
Open

Recommend PascalCase for class names (not camelCase) #89

Mark2Mark opened this issue Oct 11, 2023 · 0 comments

Comments

@Mark2Mark
Copy link
Contributor

Mark2Mark commented Oct 11, 2023

* `____PluginClassName____` is the machine readable name of the Python class in your code and needs to be put into a few places. It needs to be unique, as in: You can’t install two plug-ins next to each other that have the same class name. Although I wrote "machine readable", there is one interaction where the user of the plug-in will get to see this class name: Calling Filters through Custom Parameters upon file export. So make it a friendly and unique name. Only ASCII characters and no spaces allowed here. We recommend `camelCaseNames`.

End of line recommends camelCase, which should be better PascalCase, as it is the norm for Python 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

1 participant