Closed Jojain closed 3 years ago
There have been discussions about CadQuery's lack of PEP8 compatibility in function names before. Our stance is that we are not planning to change the function names in the CadQuery repo because it would break too many existing scripts. However, my thought was that this plugins repo could be PEP8 compliant (or at least closer to it) since it doesn't have the historical baggage.
This is certainly a discussion we can have though. Consistency with the existing CadQuery codebase is nice, but so is consistency with the Python community's conventions. We need to decide which is more important to us.
My opinion is that consistency prevails on PEP8. So I would rather have everything camelCase rather than PEP8 accordance. But either way it would be nice to decide this quickly so it could be added in the contrib specifications
@adam-urbanczyk @marcus7070 @dcowden Please chime in of you have an opinion.
I would not enforce it.
I don't think we should enforce anything here.
Pros of enforcing camel case:
Cons:
Looking at what @jmwright wrote for his sample plugin I noticed he didn't used camelCase for his plugin name. Since all cadquery methods are using camelCase I would suggest this being also a standard for plugins functions names so it's consistent with the rest of cadquery, what are your thoughts about it ?